(1..100).inject(&:+)

34 points by mightybyte

Read the article

Discussion on Hacker News