Thursday, October 20, 2011

It's called programming

People get annoyed when they must write two lines of code instead of one, but I don't. It's called programming.Rob Pike

3 comments:

Ryan Culpepper said...

Also, http://xkcd.com/568/

Anyway, two lines is fine. Two lines that I've written a thousand times before is annoying.

Aaron said...

@Ryan - that would be 2*1024 lines.

Also, taking a wild guess here, but I'm guessing the other person talking to Pike at the time was _also_ talking about thousands of lines.

John Shutt said...

I do get the sentiment, I think.

I've never been much of believer in lines-of-code as a measure, though.  It really depends on what sort of code they're lines of.  Given the choice of one line of APL versus two lines of COBOL... well, maybe that's not a realistic choice.  There isn't much you can do with two lines of COBOL.