javascript

Loosely Typed Code Deserves Triple Equality

1 minute read

In loosely typed languages such as JavaScript or PHP, using == to compare values is bad practice because it doesn't account for type, hence false == 0 == '' ...

Highlevel Testing With CasperJS

5 minute read

If you've written a webapp and you want to ensure that critical parts such as the signup process stay working, the best would be to have an actual user go th...

Revisiting Spaces and Tabs

5 minute read

This article in 50 words: I used to prefer spaces vs tabs, now I don't care so much, think it's more important that you can easily switch on a per-project ba...

Better Performance With mod_deflate

2 minute read

I used to use Dean Edwards Javascript Packer a lot to compress my Javascript sources. Libraries of 100kB could easily shrink to 30kB and that saves load time...