News for hackers. Stuff that matters.
Re:Ask HN: HMH anti-OOP movement by trcollinson on Tuesday July 28, 2015 @12:12PM (#9962600)
I haven't followed HMH nor Casey Muratori, but the notion that C++ is horrible has been around for a long time. Linus Torvalds famously smacked down C++ and gave at least two reasonable objections to using C++ for "system-level and portable" programming needs [1].

Now, is this true for every application? Of course not. Does OOP work well in C++ for some applications? I am sure it does. Can C++ lead you to making poor design decisions? Of course it can, so can C or anything else (except for lisp, lisp is perfect ;)).

Of course, it's all a rather subjective argument. You could always port what you are learning from HMH to C++ and see how it works or what changes in an OOP style. I bet that would be really interesting and educational!

[1] http://harmful.cat-v.org/software/c++/linus

Re:Ask HN: HMH anti-OOP movement by dragonwriter on Tuesday July 28, 2015 @12:59PM (#9962936)
> but the notion that C++ is horrible has been around for a long time

Yeah, "C++ is horrible" is as old as C++.

The exact basis has changed -- early on, it was that C++ did OOP poorly, even compared to other contemporary C-based efforts (notably, Objective-C). Now its more that OOP is the wrong solution.

Re:Ask HN: HMH anti-OOP movement by detrino on Tuesday July 28, 2015 @12:54PM (#9962904)
What are those two reasonable objections?