Monthly Archives: November 2010

misc

Old random scribbles

Copied from the old code.ae archives.. 🙂

Differences between 1987 and 2007:

Ctrl-Z:

read more »

rails

Spaces, or parentheses are important

In Rails,

    j = points.size -1

is not equal to

    j = points.size - 1

Wouldn’t it be easier if Parentheses were mandatory, so that we could see the difference between:

    j = points.size -1

and

    j = points.size(-1)