Gollum@feddit.org to Programmer Humor@programming.dev · 1 year agoAnother smart movefeddit.orgexternal-linkmessage-square107linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 1 year agomessage-square107linkfedilink
minus-squaredriving_crooner@lemmy.eco.brlinkfedilinkarrow-up0·1 year agoVariable names should be var{n} where n = 0, 1, 2…
minus-squareRikudou_Sage@lemmings.worldlinkfedilinkarrow-up0·edit-21 year 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.
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.