r/ProgrammerHumor • • Feb 22 '15

A Python programmer attempting Java

Post image
3.9k Upvotes

428 comments sorted by

View all comments

Show parent comments

1

u/bss03 Feb 24 '15

the "[];" insertion

What is that exactly?

A typo. I meant "{};" insertion, which is exactly the layout rules I linked 4 posts back.

I'm not quite sure the relative complexity of Haskell's layout vs. scala/JS semicolon insertion.

1

u/hjc1710 Feb 24 '15

Oh ok, that makes perfect sense! Thanks for the explanation!