TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 9 months agoWhat are variables and semicolons for actually?message-squaremessage-square34fedilinkarrow-up1110arrow-down18file-text
arrow-up1102arrow-down1message-squareWhat are variables and semicolons for actually?TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 9 months agomessage-square34fedilinkfile-text
minus-squaretatterdemalion@programming.devlinkfedilinkarrow-up2·edit-29 months agoYou can replace return foo with just foo.
minus-squareUsername@feddit.delinkfedilinkarrow-up4·9 months agoNot here, because it’s being used as a function argument.
You can replacereturn foo
with justfoo
.Not here, because it’s being used as a function argument.
Oh wow. I hate this lol