Gollum@feddit.org to Programmer Humor@programming.dev · 1 day agoAnother smart movefeddit.orgimagemessage-square87fedilinkarrow-up1791arrow-down126
arrow-up1765arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 1 day agomessage-square87fedilink
minus-squaredriving_crooner@lemmy.eco.brlinkfedilinkarrow-up5·16 hours agoVariable names should be var{n} where n = 0, 1, 2…
minus-squareRikudou_Sage@lemmings.worldlinkfedilinkarrow-up1·edit-22 hours 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-squareZink@programming.devlinkfedilinkarrow-up1·15 hours 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.