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-squareAgreeableLandscapeOPlinkfedilinkarrow-up2·5 years agoI feel like that shouldn’t even be allowed. Like what’s the point?
minus-squareblamitterlinkfedilinkarrow-up3·5 years agoI’d say it wasn’t intended but accidental since it is possible to avoid brackets for one-line blocks in while. One could argue that the bug is in the language specs! Another could say it’s not a bug but a feature for some bizarre use. Well…
I feel like that shouldn’t even be allowed. Like what’s the point?
I’d say it wasn’t intended but accidental since it is possible to avoid brackets for one-line blocks in while. One could argue that the bug is in the language specs! Another could say it’s not a bug but a feature for some bizarre use. Well…