3 ms·
Chris Okasaki wrote such a language. One of it's features was mandatory indentation (like python). Why mandatory indentation was effective at making a language
by loup-vaillant 17y ago
Chris Okasaki wrote such a language. One of it's features was mandatory indentation (like python). Why mandatory indentation was effective at making a language learn-able, he didn't really know for sure, but he suspected it is because there is less visual noise.
If you want to make a super easy-to-teach, I suggest you try the following:
(1) Mandatory indentation. This is one of the most influencing factors.
(2) As little syntax as you can afford.
(3) An interactive loop. It makes Tinkering easy.
(4) A simple, probably dynamic, type system (numbers, chars and functions are probably enough). If you go the static route, there is no other way than Hindley-Milner based type systems. They are quite complex and their paranoia annoy some students, though.
The closest I can think of right now would be a scheme without parentheses, like in http://www.genyris.com/ http://www.genyris.com/
- ThinkWriteMute 17y agoThis is great advice, thanks :)