One year of Go
Kagamin
spam at here.lot
Sat Nov 13 10:52:34 PST 2010
bearophile Wrote:
> Kagamin:
>
> > Aren't curly braces the same redundancy as semicolons, serving the same purpose?
>
> The information represented by the curly braces is represented by the indentation levels.
http://docs.python.org/py3k/reference/lexical_analysis.html#explicit-line-joining
If understood it correctly, physical lines don't obey the indentation rules and can have any indentation, e.g. the same indentation as the return statement in the example.
More information about the Digitalmars-d
mailing list