Friday, August 20, 2010

The smallest boolean in JavaScript

One of my projects has a pretty large API, with lots of methods returning boolean values. At first, I returned 1's and 0's - which are not actual booleans, but are certainly good enough (for most applications). However, for a public API, I knew they would need to return true or false... After making the edits, my file size jumped. Which is how I found the smallest boolean in JavaScript.

Share/Bookmark

Tuesday, August 17, 2010

Proxy - You've come a long way, baby.

I began this post three weeks ago and should have published it then. For it has been an exciting three weeks, for me. I'm proud to announce Proxy, my first opensource JavaScript project, is available on github.com. Alas, this post is only about the journey to that destination...

Share/Bookmark