4 ms·
As a lisp (Scheme and Clojure) user who nonetheless takes issue with this statement: 1. Modern (JS) runtimes have JITs that can generate code almost as fast a
by asynchrony 15y ago
As a lisp (Scheme and Clojure) user who nonetheless takes issue with this statement:
1. Modern (JS) runtimes have JITs that can generate code
almost as fast as C++.
2. You can write purely functional code in JS.
3. JS has arguably less features than R5RS Scheme, which
itself is hard to fit on half a page.
- sausagefeet 15y agoWhat do you mean by point 2? Unless you don't plan on doing any I/O, you can't write purely functional code in JS. Not that you can in Lisp either...
- asynchrony 15y agoI meant that there is nothing about JS that prohibits writing pure functions and reaping all the associated benefits (formal reasoning, etc.)