2 ms·
You're talking C++, clearly. First, you could write things header-only and avoid repeating yourself if that's your concern. Much of boost is written this way. T
by humanrebar 10y ago
You're talking C++, clearly. First, you could write things header-only and avoid repeating yourself if that's your concern. Much of boost is written this way. There are advantages and disadvantages to that, but it's less code.
Second, there are experimental modules systems available that avoid many of the disadvantages of header-only code. If things go well, modules will be standard in C++20.
There are certainly things I would improve about the syntax of Java and C++, but both are improving quickly in that regard.