mortoray.com/2015/06/15/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, yet I'...


Comments (0)

Sign in to post comments.