Emacs Lisp vs JavaScript
Not emacs related but JavaScript. In past 3 months, i've been quite busy studying JavaScript, and wrote lots of tutorials. If you haven't done JavaScript and like my elisp tutorial, you might find this interesting.
- If you never touched JavaScript before, this page can get you started in few minutes. JavaScript Tutorial by Example
- If you have some experience, and is perplexed by JavaScript object system, here's a hopely comprehensive treatment. Understanding JavaScript Object System
- Here's index to all the pages. Xah's JavaScript Tutorial
Hope you like it.
for a bit fun, there's this guy you probably heard of: Steve Yegges. I have great admiration of him. He wrote a JavaScript mode (js2-mode), 10k lines of elisp, and features a real-time syntax checker. It was to be bundled with emacs 23, but unfortunately, due to gnu emacs politics and some ignorant youngster, a very dumb js-mode took its place instead (of which, any dummy lisper such as myself can write in a day). But, that's not all. Yegge also wrote a ECMA-262 compatible interpreter in emacs lisp! Also about 10k lines. (http://code.google.com/p/ejacs/) Now that's really something.
After Yegge did these projects, he wrote a blog musing on elisp vs JavaScript. Guess what he think is better? See: