Closed bbelderbos closed 8 months ago
For variable names I would refrain from using types / names of data structures as variable names.
This is also known as the Hungarian notation, see: https://en.wikipedia.org/wiki/Hungarian_notation
Try to use business logic names, for example the names we see on the page: dict1 could be my_current_nutrients and dict2 could be target_nutrients
my_current_nutrients
target_nutrients
This makes the code easier to read / reason about.
_Originally posted by @bbelderbos in https://github.com/anschelburk/PDM-Nutrient_Guide/pull/27#discussion_r1514330335_
This issue is for later, no a prio, to address some of this feedback
Thank you. Took a look, happy to use this notation moving forward.
This is also known as the Hungarian notation, see: https://en.wikipedia.org/wiki/Hungarian_notation
Try to use business logic names, for example the names we see on the page: dict1 could be
my_current_nutrients
and dict2 could betarget_nutrients
This makes the code easier to read / reason about.
_Originally posted by @bbelderbos in https://github.com/anschelburk/PDM-Nutrient_Guide/pull/27#discussion_r1514330335_