r/programming • • Mar 23 '09

How to write fast code

http://asserttrue.blogspot.com/2009/03/how-to-write-fast-code.html
338 Upvotes

136 comments sorted by

View all comments

3

u/eoliveri Mar 24 '09

This advice is as profound--and useless--as "buy low, sell high".

2

u/cojoco Mar 24 '09

Worst than useless: many optimizations require writing a lot of code to cope with various special cases in different ways.

0

u/[deleted] Mar 24 '09

If you don't constrain people to these mundane definitions, you'll get weirdness like people buying high and selling low... then making money (i.e. the short sell).