mortoray.com
Get rid of those boolean function parameters
I need to make a quick variation of a function. The calculation, or behaviour, differs slightly on the needs of the caller. I throw in a bool parameter to do this switch. It’s fast and easy, …