3 ms·
For starters it is maybe great, but I see problem with types that are not explained but create problems when building something more. Because in the end `var` i
by ozim 5y ago
For starters it is maybe great, but I see problem with types that are not explained but create problems when building something more. Because in the end `var` is not just a bucket and adding strings to number bites people.
It is like learning how to snowboard, I am now on a level where I can go downhill quite quickly, but I don't have enough experience to not crash if something unexpected pops up.
Learning with `var` is just a bucket seems to be that it is going to cause a lot of frustration and pain later on when person thinks he gets it.
- Hermitian909 5y agoOf course these technicalities can be a problem, but our conversation here is about absolute beginners, sometimes children engaging in a structured curriculum where the problems they face are ones in our control. In that context it's ok to oversimplify if we 1. Tell the student we're oversimplifying, and maintain their trust in us so that they'll follow along when we do so. 2. Revisit oversimplified explanations when they have enough knowledge and context to understand more detailed and correct explanation. The point I've been making is that Javascript makes it easy to pace our explanations of complex programming topics while still allowing students to consistently writing working code. Most languages require a large amounts of either upfront understanding or faith in "magic incantations", both of which hinder learning (this is not a criticism of those languages, they were designed for professionals). So Javascript still manages pretty admirably, all things considered.