Re:Plasma Mobile – Turns your phone into a fully open hackin...
by codedokode on Thursday November 03, 2016 @07:51PM
(#12869216)
But the header files are still there, aren't they? One still has to write a method name and arguments twice.
[ Parent
| on HN ]
Re:Plasma Mobile – Turns your phone into a fully open hackin...
by humanrebar on Saturday November 05, 2016 @06:27AM
(#12879067)
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.