performance - What are the effects of code bloat in C++? -
i can't find other explanation other "it's unnecessarily longer binaries". mean? how having more executable code under hood of program bad? ignoring readability benefits is.
for example:
template<int a, int b, int c> void dosomething(){ if( == 1 ){ ... } if( b == 1 ){ ... } if( c == 1 ){ ... } }
in case there maximum of 3*3=9 possible combinations of way function can execute code, ignoring optimizations of course.
so what's big deal? saves me lots of readability headaches , compacts how write.