Researcher question – what's the point of semicolons and curly braces?

Observer via Digitalmars-d digitalmars-d at puremagic.com
Tue May 3 09:40:14 PDT 2016


On Tuesday, 3 May 2016 at 12:47:42 UTC, qznc wrote:
> There are three methods to communicate blocks to the compiler: 
> curly braces, significant whitespace (Python, Haskell), or an 
> "end" keyword (Ruby, Pascal). Which one you prefer is 
> subjective.

Four methods.  Let's not forget statement labels and "goto",
which were effectively all that early Fortran had available for
marking block boundaries.


More information about the Digitalmars-d mailing list