Re:Ask HN: How should I teach code to kids?
by Eridrus on Saturday February 18, 2017 @01:29PM
(#13675945)
Running in the browser and having pretty good debugging tools seems pretty useful to me.
[ Parent
| on HN ]
Re:Ask HN: How should I teach code to kids?
by darpa_escapee on Saturday February 18, 2017 @02:57PM
(#13676387)
Compared to other languages and environments, debugging JavaScript can be difficult if you don't have a good idea of what's going on behind the scenes in specific browser versions, the DOM and JavaScript VM. Throw callbacks, Promises, etc into the mix and things get confusing pretty fast.
Comparatively, other languages, like Python, will throw sane exceptions and a meaningful stack trace when something goes wrong.