3 ms·
JavaScript Bootcamp instructor on using ClojureScript instead
- temperaterealms 6y ago1) How would teaching people a language that compiles to JavaScript help them to avoid issues with JavaScript's stack and tooling? 2) JavaScript has an elegant and simple subset based on closures and functions that return functions. You can avoid much of the language's complexity by avoiding prototypes (except for special cases needing performance optimization), constructors, "class", and "this" and focusing on that subset instead. Teaching students this subset would cause a problem when they are exposed to codebases that heavily use prototypes, constructors, "class", and "this", but wouldn't this happen with ClojureScript as well? I probably just need to know more about what the quirks and problems are, more specifically, that Chris Oakman is trying to avoid.