4 ms·
Writing C++ like Java (or any other language for that matter) won't help anyone. The code will turn out non-idiomatic and weird for any couple of C++-eyeballs.
by dkrikun 8y ago
Writing C++ like Java (or any other language for that matter) won't help anyone. The code will turn out non-idiomatic and weird for any couple of C++-eyeballs.
- pjmlp 8y agoI always find this comment funny, because C++ is older than Java and many Java programming patterns originated from C++ designs. Then again, many C++ younger devs don't even know what Booch method might be all about.
- dkrikun 8y agoThey have originated from C++, fine, but it is a different language, different ecosystem, different community, different ideology and -- different idioms
- Nimelrian 8y agoEspecially since the GoF Design Patterns, which are often cited as the main reason for Java being verbose, were described in the original book using C++ (and smalltalk) examples. Just because they may be overused in Java doesn't mean people shouldn't use them at all in other languages.
- jayd16 8y agoThis is a classic design pattern. Its not language specific.