Skip to content

Conversation

@KN4CK3R
Copy link
Contributor

@KN4CK3R KN4CK3R commented Feb 24, 2020

A different implementation of dynamic scaling of ingredients like in #22

+ No ingredient "parsing"
- Needs recipe changes

Preview:
grafik
grafik

@KN4CK3R
Copy link
Contributor Author

KN4CK3R commented Mar 1, 2020

I have experimented with different ingredient formats but I'm not sure which is more useful.

ingredients:
- 4|bananas
- 0.5|cup|butter
- 100|g|sugar
- salt

Pro: easy to use and understand (as a programmer)
Contra: custom format to parse

ingredients:
- bananas:
  - 4
- butter:
  - 0.5
  - cup
- sugar:
  - 100
  - g
- salt

Pro: seperated parts
Contra: verbose format (and maybe difficult (don't forget the colon))

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant