|
|
|
|
|
by LexiMax
171 days ago
|
|
I feel like if #1 was done today, there is no way on god's green earth that whitespace would be used for code blocks. It is far and away the most common footgun novices run into when I'm answering questions about why their code doesn't work. |
|
Around 2010, I was talking about this with friend about this failing of mine, and he said "you should try python, I've heard it is popular with non-math folks." So I bought a book, and as soon as I opened it, I could just read it. It took me a couple days of reading to wrap my head around object orientation, but on the functional side, I could have written fizz buzz like, maybe half an hour after opening the book.
Humans have logic pre-built into our brains, it's just that we use natural language as our syntax. Python cleverly used as much of the natural language syntax as was practicable to remove the barriers to entry for non-math majors. Whitespace is perfect example of a natural language syntax feature.