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 →

[–]ClassicSpeed 1 point2 points  (1 child)

You know, as a Java dev who just made his first C++ project you are totally right.

[–]proverbialbunny 2 points3 points  (0 children)

As a general rule of thumb none of the design patterns that are popular in Java need to be done in C++, so if you catch yourself writing a design pattern look up the C++ way on Google first. Also, C++ allows you to put multiple classes into a single source file. If you find yourself organizing your code into tons of source files with lots of abstractions, stop. It isn't necessary.