News for hackers. Stuff that matters.
Re:Parsing Roman Numbers - Beautifully by Anon84 on Friday March 27, 2009 @07:47PM (#535885)
"In devising an algorithm, consider exceptions last. In writing code, consider exceptions first."

Good advice

Re:Parsing Roman Numbers - Beautifully by jibiki on Friday March 27, 2009 @09:38PM (#536042)
I've been doing this wrong for as long as I've been programming (eight or nine years.) I always just try to get stuff to compile as quickly as possible, then to run, and then handle the edge cases if they come up. Needless to say, unconsidered exceptions always come back to bite me in the ass...
Re:Parsing Roman Numbers - Beautifully by nx on Friday March 27, 2009 @10:46PM (#536105)
It's a great programming quote I'd never heard.