TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 7 months agoWhat are variables and semicolons for actually?message-squaremessage-square29fedilinkarrow-up1106file-text
arrow-up198message-squareWhat are variables and semicolons for actually?TadoTheRustacean@programming.dev to Programmer Humor@programming.dev · 7 months agomessage-square29fedilinkfile-text
minus-squaretatterdemalion@programming.devlinkfedilinkarrow-up3·7 months agoWould you rather have semicolons or significant newlines?
minus-squareTadoTheRustacean@programming.devOPlinkfedilinkarrow-up5·7 months agoSemicolons. Statement’s can be written in multiple lines such as rust io::stdin(&mut foo) .unwrap(). Idk if it would work if the newlines were significant. Also when I paste something, it could be ready hard for the formatter to format it.
Would you rather have semicolons or significant newlines?
Semicolons. Statement’s can be written in multiple lines such as
rust io::stdin(&mut foo) .unwrap()
. Idk if it would work if the newlines were significant. Also when I paste something, it could be ready hard for the formatter to format it.