Spot any errors? let me know, but Unleash your pedant politely please.

Sunday 22 February 2009

++

This is something I used to dislike about C-like languages. I used to think that such statements should always be explicit assignments…
x := x + 1 ;
…but I don't mind it these days. I'd prefer a function…
inc(x);
…but I don't have a problem with
x++;
any more.

No comments:

Post a Comment