3 ms·
Maybe "don't write your own macros". I guess it's like C++ template meta programming. If you find yourself using that a lot, it's probably a bad sign. But also
by IshKebab 1y ago
Maybe "don't write your own macros". I guess it's like C++ template meta programming. If you find yourself using that a lot, it's probably a bad sign. But also Eigen is pretty great.
- TinkersW 1y agoI dunno, the C++ template implementation of this macro would be far easier to read as it is just normal C++.
- IshKebab 1y agoC++ templates are totally different feature. You couldn't do this with C++ templates. It was just an example of something that gets very hairy for library implementers but is still quite nice for users.