DEV Community

Discussion on: 10 CODING MISTAKES THAT MAKE YOUR CODE SMELL

Collapse
 
aeharake profile image
Ahmad El Harake • Edited

I knew you were a French educated Lebanese because of "substract" instead of "subtract". Great article keep it up. However, I should point out that since you mentioned "consistency" as one essential point, this would contradict with the idea 4. As sometimes for the sake of dependency, we keep functions with x arguments calling an overloaded one with x-1 arguments and etc.

Collapse
 
hussein_cheayto profile image
hussein cheayto

You have the eyes of a legendary developer 👀
Thanks, I have fixed the function name.
It's an open discussion, there's no true or false question. Appreciate your comment :)
Glad that you like my article.