AgreeableLandscape to General Programming Discussion · 5 years agoSemicolons in programming languages: Yay or Nay?message-squaremessage-square16fedilinkarrow-up17arrow-down10file-text
arrow-up17arrow-down1message-squareSemicolons in programming languages: Yay or Nay?AgreeableLandscape to General Programming Discussion · 5 years agomessage-square16fedilinkfile-text
What’s your opinion on prorgamming languages that separate lines with semicolons or those that just use a line break?
minus-squaredoomylinkfedilinkarrow-up5·5 years agoI like languages where they are not required but can be used to delimit two statements on one line. I also like Rust in that no semicolon is an implicit return
minus-squareDessalinesAlinkfedilinkarrow-up2·5 years agoSame, I like that implicit return too, I think some other languages have that too.
minus-squareR...linkfedilinkarrow-up2·5 years agoWhich is highly confusing when you are learning Rust but come from Javascript.
I like languages where they are not required but can be used to delimit two statements on one line. I also like Rust in that no semicolon is an implicit return
Same, I like that implicit return too, I think some other languages have that too.
Which is highly confusing when you are learning Rust but come from Javascript.