logoalt Hacker News

szmarczakyesterday at 9:47 PM2 repliesview on HN

It's not. Your eyes can deceive you by guessing the correct indentation. Indentation should never be used for grammar separation. Explicit characters such as } ] ) are clearer and unambiguous.


Replies

silon42today at 7:47 AM

IMO, that is the only acceptable situation where semicolons can be removed from the language... if you need to add indentation rules, you've failed.

bmandaleyesterday at 10:13 PM

Clearer for the computer, but not for the human. Many errors, some severe, have been caused by a human only looking at the indentation and not realizing the braces don't match.

show 3 replies