On 6/22/23 5:23?PM, Mark Levison wrote:
On the way we encountered a JavaScript function that took a boolean parameter, so the code read like: FooBar(..., True). We discussed why this is a poorly written function and then I promised: "I promised even if I'm fifty years dead, I will return from the grave too haunt her if she ever writes a method that accepts a boolean parameter."
Alright, I'll bite: what is the issue you see with having a boolean parameter?
DR