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
It's like the sync vs async coloured methods problem, why have two functions that do nearly identical things?
I disagree... passing a boolean to a a function which trigers one of two options is a great way to encapsulate logic
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.
@evgheniimaslennikov2917