D code length vs other languages

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Fri Dec 6 10:27:54 UTC 2019


On Friday, 6 December 2019 at 10:16:59 UTC, Gregor Mückl wrote:
> Also, the need for headers. That alone can add considerably to 
> a codebase.

True, you that you have to specify the signature of all class 
members that is implemented in a .cpp file. So you often have to 
write a lot of code twice, once for the .hpp file and once for 
the .cpp file.

Kinda made sense before C++ added templates as the .hpp file was 
slim and easy to read, now it is quite the opposite.



More information about the Digitalmars-d mailing list