Archive for 2006

Javascript Pseudo-global “Private” variables

Once upon a time, it was thought that Javascript didn’t have private or protected member class variables and methods. Crockford showed us that this was false.
Globals are generally frowned upon, with very good reason. They open the door for conflicts and unpredictable behavior when you’re using scripts from different places. There are enough [...]

Read the rest of Javascript Pseudo-global “Private” variables »

Every good Javascripter needs to Lisp a little

Today I found this very good discussion of the Lisp programming language. Everyone who writes, or aims to write, any fair amount of Javascript ought to learn at least the basics of Lisp. One could say that Lisp’s syntax is perhaps too simplified (the parentheses make me crazy) but the conceptual lessons to [...]

Read the rest of Every good Javascripter needs to Lisp a little »

Killing Addictions

I went through a pack of patches earlier this month. The grossness of them really got to me.
I can’t take stuff stuck to my skin. It’s in the same category as jewelery. If my wedding ring didn’t have such sentimental meaning, it wouldn’t have stayed on my finger through the first day. [...]

Read the rest of Killing Addictions »