TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 2 years agoWhat are variables and semicolons for actually?message-squaremessage-square27linkfedilinkarrow-up180arrow-down14file-text
arrow-up176arrow-down1message-squareWhat are variables and semicolons for actually?TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 2 years agomessage-square27linkfedilinkfile-text
minus-squaretatterdemalion@programming.devlinkfedilinkarrow-up1·edit-22 years agoYou can replace return foo with just foo.
minus-squareUsername@feddit.delinkfedilinkarrow-up3·2 years 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