36 karma · joined Aug 25, 2013 (13y ago) · 12 submissions
comment 6y ago · link · parent
Otherwise when the logic gets complex I try to model it as independent threads each having a well-defined role (e.g. exclusive write access to SQLite) communicating with channels. Although I tend to code these things in Rust, the language who taught me that philosophy is Go.
comment 6y ago · link · parent
comment 7y ago · link · parent
comment 8y ago · link · parent
comment 10y ago · link · parent
comment 11y ago · link · parent
With your supplied example, here was my train of thought when I hit solve: I get "Egg whites: 239.05". Am I supposed to eat 239 eggs? Probably not -- that's a lot for one meal. So there must be a unit; grams? well I don't know how much an egg weighs, plus I don't know the proportion of the white within a full egg. I certainly won't open Wikipedia right now to solve it!
That said, I love the design, especially the top illustration, so my point was just: if you can make the results more human-readable, that would help.