TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 7 months agoWhat are variables and semicolons for actually?message-squaremessage-square36fedilinkarrow-up1112arrow-down17file-text
arrow-up1105arrow-down1message-squareWhat are variables and semicolons for actually?TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 7 months agomessage-square36fedilinkfile-text
minus-squaretatterdemalion@programming.devlinkfedilinkarrow-up2·edit-27 months agoYou can replace return foo with just foo.
minus-squareUsername@feddit.delinkfedilinkarrow-up4·7 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