Programming

74 articles 路 all categories

16 articles from 2011 show all

December 2011

Sabbatical week day 3: Raining datatypes

Learning me a Haskell

The problem with threads

Why programmers work at night

Javascript's lack of strftime

Fun javascript feature

Simple trick for testing forms full of checkboxes with django

November 2011

A turing machine in 133 bytes of javascript

Parsing JavaScript with JavaScript

October 2011

Programmers are fucking lazy

Functional isn't always better

Collect your data carefully, a lesson

August 2011

Software dev isn't just a logical process

July 2011

I learned two things today

April 2011

A cool JavaScript property you never noticed

A few years ago I was playing around with JavaScript trying to find the cleanest way to implement callbacks in functions. Primarily I wanted a readable way to make certain the last argument passed is a callback, withut having to rely on knowing how many arguments there are and so on. Instead I stumbled upon a pretty cool feature of how javascript handles function arguments.

Benchmarking node, tornado and django for concurrency