Name: Anonymous 2014-05-28 5:44
Why do C++ faggots write
instead of
???
I find C++ especially verbose.
auto dist = [&](uint32_t col1, uint32_t col2) { return colorDist(col1, col2, cfg.luminanceWeight_); };
template <typename T> T min(T a, T b) {return a < b ? a : b;}
instead of
#define dist(col1, col2) colorDist(col1, col2, cfg.luminanceWeight_)
#define min(a,b) ((a) < (b) ? (a) : (b))
???
I find C++ especially verbose.