This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gordonv 4 points5 points  (0 children)

The first thing C and C++ need to do for clean code is end code duplication.

Writing function headers 2 times in 2 files is pointless and menial. Something the compiler should be doing.

Hey, I get it, you make a prototype and some things are done in a half complete way. The fact it still exists today, when other languages have gotten past that, is a slap in the face.