3 ms·
I'm interested in why Python is such a good teaching language. IMO I find that indents are supremely useful and visually appealing to the novice. They just lo
by urthor 4y ago
I'm interested in why Python is such a good teaching language.
IMO I find that indents are supremely useful and visually appealing to the novice. They just look fantastic to people without decades of parentheses muscle memory.
But my pet theory is that explicit typing is really key to newer programmers. It just helps show them what is happening. I remember, Python took me awhile the first time.
- toxik 4y agoI think Python’s tendency to look like pseudo code is a big reason. It’s less intimidating than archaic incantations like “int foo = 1;” or “for (x; y; z) { … }”. While familiar to us, everybody has seen a colon followed by an indented list of things, and everybody has seen “x = 1” at some point.