News for hackers. Stuff that matters.
Re:C++ Considered Harmful by st3fan on Friday September 26, 2008 @08:52AM (#315989)
Personally I don't agree with ESR. I think C++ is a great language, if used with caution, and I will use it right away in projects where C would normally be used. Specially with useful libraries like STL and Boost being available.

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.

Re:C++ Considered Harmful by wheels on Friday September 26, 2008 @10:31AM (#316082)
Is posting a flamebaity story just to immediately disagree with it really a good idea?
Re:C++ Considered Harmful by st3fan on Friday September 26, 2008 @12:31PM (#316230)
Why not? I'm curious about other people's opinion on the piece. Why not post my own too then?
Re:C++ Considered Harmful by tel on Friday September 26, 2008 @11:56AM (#316180)
At HN, miraculously, it might just be.
Re:C++ Considered Harmful by alexk on Friday September 26, 2008 @09:07AM (#316003)
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.