Gollum to Programmer Humor@programming.dev • 1 month agoAnother smart movefeddit.orgimagemessage-square115fedilinkarrow-up1992arrow-down135
arrow-up1957arrow-down1imageAnother smart movefeddit.orgGollum to Programmer Humor@programming.dev • 1 month agomessage-square115fedilink
minus-square@driving_crooner@lemmy.eco.brlinkfedilink7•1 month agoVariable names should be var{n} where n = 0, 1, 2…
minus-squareRikudou_Sagelinkfedilink5•edit-21 month agoPff, just use the numbers directly: ${1} = "value"; ${2} = "DOGE"; That makes it possible to do stuff like: for (${152} = 1; ${152} <= 2; ${152}++) { ${666} = $${152}; print(${666}); } This is a valid code, btw.
minus-square@Zink@programming.devlinkfedilink1•1 month agoSomething something the cruelty is the point.
Variable names should be var{n} where n = 0, 1, 2…
Pff, just use the numbers directly:
${1} = "value"; ${2} = "DOGE";
That makes it possible to do stuff like:
for (${152} = 1; ${152} <= 2; ${152}++) { ${666} = $${152}; print(${666}); }
This is a valid code, btw.
Something something the cruelty is the point.