That said, can somebody implement hygienic macros in JavaScript. They will probably help will people having to explain basics knowledge over and over.
That said, can somebody implement hygienic macros in JavaScript. They will probably help will people having to explain basics knowledge over and over.
Why? Are you also annoyed by calculus students who learn ideas today that have been known for hundreds of years?
> That said, congratulation for learning value of syntactical sugar. I hope you like it.
Maybe I am misreading this (it could mean simply what it literally says), but I read it as unconstructive snark.
Is there a benefit in spreading this discovery to others, even after it's been known so long? Certainly I think so; it's new to everyone at some point, and, since I wasn't originally motivated to read McCarthy's original papers, I wouldn't have discovered the ideas of Lisp without recent expositions of it. Granting the benefit of this, who can better communicate with the unenlightened, in terms familiar to them, than a recent convert? (Although, as braythwayt points out (https://news.ycombinator.com/item?id=9641279), he is scarcely a newcomer to the party.)
Personally I find excessive use of lamdas create unmaintainable and incredibly difficult to debug spaghetti code. The idea that JS developers should make their code even more LISP-like is enough to give me nightmares.
The designers of let are largely a bunch of Schemers; they knew what they were doing.
Although I haven't used it hands-on, http://sweetjs.org/ looks impressive.
For example recently sweet.js apparently implemented some cutting-edge Racket macro developments before Racket officially did. :) https://github.com/mozilla/sweet.js/pull/461