foo, bar, and baz are the worst variable, function, etc names to include in code tutorials.
Beginners especially will find them confusing because instead of seeing them as "obviously silly placeholders" they are likely to be thinking every keyword token seems silly, but is important.
It also breaks with the rule to name variables what they are or what they do (e.g. price_subtotal or calculateTax). Write tutorials like you would write actual code.
[#]softwareengineer #webdev #code #software
=> More informations about this toot | View the thread | More toots from travissouthard@jawns.club
=> View softwareengineer tag | View webdev tag | View code tag | View software tag This content has been proxied by September (3851b).Proxy Information
text/gemini