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 Friday, November 21, 2008 7:26:48 AM (Central Standard Time, UTC-06:00)
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.