News for hackers. Stuff that matters.
Re:What's your most controversial programming opinion? by famblycat on Saturday December 18, 2010 @03:05PM (#2020150)
Mine is I don't believe single-entry single-exit should be law. It tends to clutter your code with extra braces.
Re:What's your most controversial programming opinion? by pjscott on Saturday December 18, 2010 @04:02PM (#2020296)
How is this controversial? Anybody who's had to sanity-check function arguments (e.g. null pointer checking) knows that having multiple exits from a function is sometimes the Right Thing.
Re:What's your most controversial programming opinion? by famblycat on Saturday December 18, 2010 @06:10PM (#2020554)
I was told in school that SESE was the proper way to do things. I've met other people who agreed with that. You and I are of a differing opinion. Seems at least somewhat controversial to me.