python vs d

via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 29 23:12:22 PDT 2014


On Wednesday, 30 April 2014 at 01:46:21 UTC, Nick Sabalausky 
wrote:
> indentation rules. All it can do, and indeed all is *does* do, 
> is blindly assume that the indentation as presented is correct 
> and adheres to the universal style. If something is indented 
> wrong, there is no enforcement, only bugs.

Not blindly. Python will complain if the indentation does not 
make sense. I very seldom run into indentation issues now, but 
had some when I was new to Python. Just like C's syntax, it takes 
some time getting used to.


More information about the Digitalmars-d mailing list