3 ms·
"Python is a popular choice, but I think it's a horrible pedagogical language." Something like this occurred to me when I learned Javascript. Python is so eas
by 3a2d29 5y ago
"Python is a popular choice, but I think it's a horrible pedagogical language."
Something like this occurred to me when I learned Javascript. Python is so easy initially, but its interesting how the CS principles of it are not so easy.
I think this popular cause someone with a CS background can quickly get the ideas of variables and printing to terminal, but look at how javascript vs Python handle objects.
Javascript it is just setting a variable to a bracket of values, like an array. Python you have to tackle concepts like what a class and self are.
Not saying Python is better/worse than any other for learning, but I am certain its popularity for beginners is how easy you can go from 0 to something. Not how easy it is to learn CS and programming principles.
- zozbot234 5y ago> Javascript it is just setting a variable to a bracket of values, like an array. Python you have to tackle concepts like what a class and self are. Python objects are pretty much the same thing under the hood. Though the OP mentions that, surprisingly, static type systems are easier to work with than dynamic ones, so perhaps we should really be considering Python with type annotations and TypeScript.