TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 6 months agoWhat are variables and semicolons for actually?message-squaremessage-square33fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1message-squareWhat are variables and semicolons for actually?TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 6 months agomessage-square33fedilinkfile-text
minus-squaretatterdemalion@programming.devlinkfedilinkarrow-up0·6 months agoYou can replace return foo with just foo.
minus-squareUsername@feddit.delinkfedilinkarrow-up0·6 months agoNot here, because it’s being used as a function argument.
You can replace
return foo
with justfoo
.Not here, because it’s being used as a function argument.
Oh wow. I hate this lol