Skip to main content
1 of 2
dreza
  • 3.5k
  • 4
  • 34
  • 39

I think Robert C Martins Clean code article states that you should eliminate boolean arguments where possible as they show a method does more than one thing. A method should do one thing and one thing only I think is one of his mottos.

However this question might be best served on Programmers either way unless you have specific code examples you were interested in?

dreza
  • 3.5k
  • 4
  • 34
  • 39