@TadoTheRustacean@programming.dev to Programmer Humor@programming.dev • 3 months agoWhat are variables and semicolons for actually?message-square36fedilinkarrow-up1113file-text
arrow-up1113message-squareWhat are variables and semicolons for actually?@TadoTheRustacean@programming.dev to Programmer Humor@programming.dev • 3 months agomessage-square36fedilinkfile-text
minus-square@jubilationtcornpone@sh.itjust.workslinkfedilinkEnglish4•3 months agofor (const item in items) { } != for (const item of items) { }
for (const item in items) { }
!=
for (const item of items) { }
Still better than
for _, item in ipairs(items)