3 ms·
"In Java, 70% of duplicates were due to code generation. For C++ is was 18%, for Python 85%, for JavaScript 70%." In the case of Java and JavaScript, there's a
by JoelSanchez 9y ago
"In Java, 70% of duplicates were due to code generation. For C++ is was 18%, for Python 85%, for JavaScript 70%."
In the case of Java and JavaScript, there's already a language that is built on top of them and has macros. It's Clojure/ClojureScript.
- virtualwhys 9y agoTwo actually, you forgot Scala/Scala.js ;-) disclaimer: I won't argue about the superiority of one macro system over another, the point is that macros exist in both languages.