Toot

Written by Travis Southard on 2024-10-28 at 12:25

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

Mentions

Tags

=> View softwareengineer tag | View webdev tag | View code tag | View software tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113385036133994288
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
226.220526 milliseconds
Gemini-to-HTML Time
0.537125 milliseconds

This content has been proxied by September (3851b).