Re:Why should I have written ZeroMQ in C, not C++ (2012)
by dkrikun on Thursday December 13, 2018 @01:09AM
(#18670222)
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.
[ Parent
| on HN ]
Re:Why should I have written ZeroMQ in C, not C++ (2012)
by jayd16 on Thursday December 13, 2018 @02:51AM
(#18670576)
This is a classic design pattern. Its not language specific.
Re:Why should I have written ZeroMQ in C, not C++ (2012)
by pjmlp on Thursday December 13, 2018 @01:44AM
(#18670340)
I 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.
Re:Why should I have written ZeroMQ in C, not C++ (2012)
by Nimelrian on Thursday December 13, 2018 @03:20AM
(#18670708)
Especially 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.
Re:Why should I have written ZeroMQ in C, not C++ (2012)
by dkrikun on Thursday December 13, 2018 @02:19AM
(#18670449)
They have originated from C++, fine, but it is a different language, different ecosystem, different community, different ideology and -- different idioms