sethmason.com The internet resource for all things Seth Mason.

Posts tagged javascript

jQuery and Friendfeed experimentation

Messing around with the Friendfeed API and Jquery.

[Read full article]

Cost of try/catch in JavaScript

Testing out how expensive computationally a try/catch is versus an if check.

[Read full article]

Debugging Is Sexy Good Times

I love me some JSON. The problem with it is that it’s not too human readable when you need to see what it’s returning.

[Read full article]

Writing Tests For Fun And Profit

Learning a new programming language historically starts off with the class “Hello World” example. I’ve probably done something like that a bazillion times. From there you take more steps into advanced parts of the language. If you are smart, you save your example programs to refer back to them later. But there’s a better way. And that better way is to write test cases that exercise the capabilities of the language you are trying to learn. This also works for new libraries within a language you are trying to learn.

[Read full article]