3 ms·
Regarding simple languages designed for teaching. I'm a big fan of the use of tools to let you program in a sane subset of a real world language. E.g. you can s
by ZeroGravitas 11y ago
Regarding simple languages designed for teaching. I'm a big fan of the use of tools to let you program in a sane subset of a real world language. E.g. you can still run your JS anywhere, but if you enforce various jshint style rules on yourself, you'll generally be much happier. An even stronger version of that could be used to train people by catching things that are odd but not definately invalid. Later those training wheels can be loosened or removed totally.
A possible side effect would be to generate better error messages on syntax errors etc., in many languages these are actively unhelpful to beginners, pointing away from the root problem.