@evgheniimaslennikov2917

Congrats, you just moved that "if statement" higher to every place where that function was called

@guilhemgmescudi

He is true I was debbuging a service with a guy then an other then an other on a function and we arrive at this function with 4 parameters and a boolean at the end and it was unclear for everyone what this function did

@elijahshadbolt7334

It's like the sync vs async coloured methods problem, why have two functions that do nearly identical things?

@JaDanBar97

I disagree... passing a boolean to a a function which trigers one of two options is a great way to encapsulate logic

@borisstihkrajnc6234

I really dont care what types of argument get passed as long as the things get done. 
Every one can be a smart ass but beeing in a bussiness for 20+ years i know what works for ME in the end of the day.