@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@blamitterlink3•4 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’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…