Best Practices

Multiple Function Exit Points - Bad?

Apparently there was a little stir among the senior developers today whether multiple returns in a function/method's implementation is an absolute evil - some taking both absolutely agree or absolutely disagree. My comment: If it's a long function, I try to avoid multiple returns and have a single exit point. If a short function (15 lines or less), it's not really that important, as long as the code is readable. Usually the discussion of exit points hides a bigger issue that the functions haven't...

Posted On Monday, June 09, 2008 8:10 PM | Feedback (0)

Nomenclature - A Barrier to Learning

“What's in a name? That which we call a rose By any other name would smell as sweet." Smells wonderful, but what if no one plants it, no one waters it and even the gardener can't remember what the heck the flower that smelled so nice was called. I’ve been somewhat absent in the Microsoft events and hooplah in the past. These meetings and events used to be mostly about technology previews and the next cool tool or language that will revolutionalize software development (in recent while, I’ve noticed...

Posted On Tuesday, June 03, 2008 12:07 AM | Feedback (0)

Copyright © Remi Sabourin

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski