TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 8 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 · 8 months agomessage-square34fedilinkfile-text
minus-squaretatterdemalion@programming.devlinkfedilinkarrow-up2·edit-28 months agoYou can replace return foo with just foo.
minus-squareUsername@feddit.delinkfedilinkarrow-up4·8 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