4 ms·
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 use
by st3fan 18y ago
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.
- alexk 18y agoYep, 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.
- wheels 18y agoIs posting a flamebaity story just to immediately disagree with it really a good idea?
- kingkongrevenge 18y ago> 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.