Default parameters are evil!!!
I just finished reading about how someone is trying to shoehorn a C++ feature into C again:
http://lefteris.realintelligence.net/?p=593
This is actually a feature I hate. With that and automatic casting of int's to bool's it means that bugs can be hidden and hard to track down. As developers we should be letting our tools do the work for us not trying to hide problems.
Also without default parameters you actually have to think about what you're coding.
http://lefteris.realintelligence.net/?p=593
This is actually a feature I hate. With that and automatic casting of int's to bool's it means that bugs can be hidden and hard to track down. As developers we should be letting our tools do the work for us not trying to hide problems.
Also without default parameters you actually have to think about what you're coding.
Comments