Is posting a flamebaity story just to immediately disagree with it really a good idea?
Why not? I'm curious about other people's opinion on the piece. Why not post my own too then?
At HN, miraculously, it might just be.
Yep, almost every time I look at good C code I see classes and iterators (written in macros), operators etc. Why not use C++ that has this onboard? C++ is a unique language, it gives you a lot of expressive power with the ability to access the lowest level.
Re:C++ Considered Harmful
by kingkongrevenge on Friday September 26, 2008 @10:32AM
(#316084)
> libraries like STL and Boost being available.
I suspect most of the distaste for C++ is a hang-over from another era. People had some exposure to MFC programming or old compilers with horrible STL support and that formed the popular impression of C++. Modern C++, especially with boost, is a very good language.
Most plain C projects are reinventing the wheel many times. Linked lists, hashtables, reference counting, OO with function pointers. I'm sure those projects shrink at least 33% in size when they would be using STL or Boost. I've certainly seen that in my own code.