Re:Show HN: I'm 12, learning JS, and wrote Wolfram's cellula...
by throwaway2016a on Wednesday August 29, 2018 @05:13PM
(#17872104)
This project explicitly says Node. But in any case, these days I generally recommend using Babel to transpile the newer JS to browser friendly JS as the productivity and readability improvements in newer versions of JS are worth the effort to me to set up the babel build step.
Re:Show HN: I'm 12, learning JS, and wrote Wolfram's cellula...
by crooked-v on Wednesday August 29, 2018 @05:35PM
(#17872280)
> This project explicitly says Node.
While that's true, future projects are a lot easier if one doesn't have to keep re-referencing "what works in Node" vs "what works on the web".
If you do web stuff (and you don't want to just say "no IE 11" - some people, and even some big companies, do that!), usually the easiest way to handle stuff like that is to use the newest syntax you're comfortable with, plus a tool like Babel that will produce a "time travel" version with older syntax that will work in all browsers.