I just read two great posts by Jeff Atwood and Brad Abrams about Boolean parameters. Here's the readers digest version:
Next time you're about to use a boolean parameter in a method, don't. Enums are much easier to read, especially when the code isn't yours.
Remember Me
a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u
Page rendered at Tuesday, October 07, 2008 12:24:01 AM (Central Daylight Time, UTC-05:00)
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.