logoalt Hacker News

tyreyesterday at 8:21 PM6 repliesview on HN

Oh nooooo, they fucked it up too. Why would someone make a language that’s whitespace sensitive? It’s confounding.


Replies

syrrimyesterday at 9:00 PM

Why would someone make a language where the programmer and the interpreter have two different ways of figuring out where blocks start and end?

show 1 reply
BeetleByesterday at 9:06 PM

To weed out programmers who don't indent.

show 1 reply
pjmlptoday at 8:34 AM

Like with array base indexes, there are plenty of languages that start with something other than zero, and many that use indentation, including a few well known in hacker circles, Python isn't alone.

grim_ioyesterday at 10:20 PM

I never understood this.

What kind of special whitespace requirements do people have?

show 1 reply
mplewisyesterday at 8:28 PM

It's really not that bad