minorsecond / minorsecond/BuzzBot

Use initializer list on `Drink` class

Open
#415 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue hacktoberfest
Dominant language
C++
Stars
7
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
Currently, the only way to set properties on Drink objects is by using setters. It would be nice to be able to use an initializer list instead.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Drink class and reviewing its existing property setters. Define the initializer-list construction behavior from the requested properties, then verify that Drink objects can be initialized without relying only on setters; the issue names no specific test or file.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.