@AgreeableLandscape to General Programming Discussion • 4 years agoSemicolons in programming languages: Yay or Nay?message-square16arrow-up17arrow-down10file-text
arrow-up17arrow-down1message-squareSemicolons in programming languages: Yay or Nay?@AgreeableLandscape to General Programming Discussion • 4 years agomessage-square16file-text
What’s your opinion on prorgamming languages that separate lines with semicolons or those that just use a line break?
minus-square@doomylink5•4 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-squareRichardlink2•4 years agoWhich is highly confusing when you are learning Rust but come from Javascript.
minus-squareDessalinesAlink2•4 years agoSame, I like that implicit return too, I think some other languages have that too.
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
Which is highly confusing when you are learning Rust but come from Javascript.
Same, I like that implicit return too, I think some other languages have that too.