TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 7 months agoWhat are variables and semicolons for actually?message-squaremessage-square27fedilinkarrow-up185arrow-down14file-text
arrow-up181arrow-down1message-squareWhat are variables and semicolons for actually?TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 7 months agomessage-square27fedilinkfile-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