Community

Are Boolean Flags on Methods a Code Smell?

(Steve Smith) Recently I had one of my newsletter subscribers ask me a question about whether it was a good practice to use a boolean parameter to alter the behavior of a method.




Facebooktwitterredditpinterestlinkedinmail