• @allObjects: I didn't mean to express any preference with regards to namespaces. My point was just that in a REPL, it doesn't make much sense to execute every new line in its own closure. Because the typical use case of a REPL is to try things out and that most likely relies on executing things in the same namespace. Once you have a complete program, it's a very different story.

    I like Gordon's approach to have a REPL at all for communicating with a board, and to interpret source code directly on a board instead of compiling it. I just never liked the syntax of JavaScript. CoffeeScript fixes all that, this is why I code in CoffeeScript. I have an idea how to make the Espruino console work with CoffeeScript, I'm just waiting for my board...

About

Avatar for Dennis @Dennis started