logoalt Hacker News

YuechenLitoday at 2:11 AM2 repliesview on HN

Oh, by "significant whitespace" I meant whitespace sensitive indentation, which I think Python and YAML are the only languages that has that feature.


Replies

Chinjuttoday at 2:30 AM

Haskell, Lean, and Agda too. But even if Python were the only one, it wouldn't be weird to someone for whom this was their first programming language. It would just seem the way programming languages are. There's nothing intrinsically weird about indentation being significant. It's quite visibly part of the code you write and read.

show 2 replies
rmunntoday at 2:33 AM

F# as well.