3 ms·
Static typing can’t be easy for beginners when they’re expected to cast a string to a number without variables having data type keywords. Type inference is ofte
by pipeline_peak 4y ago
Static typing can’t be easy for beginners when they’re expected to cast a string to a number without variables having data type keywords. Type inference is often an example of abstraction confusing users with what’s really going on…
If facility is your concern, you should go for dynamic typing where assigning a string with a number gets converted automatically. No kid should have to deal with that. Give them the full amount of abstraction, it’s the runtimes responsibility.
Otherwise, you brought up some good points, Python and JS really aren’t as kid friendly as we think.
- empressplay 4y agoAs much as I love BASIC from a nostalgia standpoint, Logo is still better -- Scratch is basically blocks-based Logo, and so Logo makes more sense as a first text-based language. There's plenty of Logos out there at varying degrees of complexity as well: Lynx, Terrapin, turtleSpaces etc. And they don't have static typing!