Re:Ask HN: What does it mean to learn a new programming lang...
by b20000 on Friday March 25, 2022 @01:32PM
(#30804986)
with C++ it is easier to shoot yourself in the foot if you use modern features and/or the STL
[ Parent
| on HN ]
Re:Ask HN: What does it mean to learn a new programming lang...
by gumby on Friday March 25, 2022 @06:41PM
(#30807690)
I don't understand your comment; is a word missing?
Nowadays the old STL has been subsumed with a standard library (for quite a long time) and it has a lot of pretty safe functionality. That functionality tends to be only optimized for the common cases -- say a couple of sigma out -- so you can roll your own alongside it.
And a lot of the pointer manipulation inherited from C is unnecessary given things like range based for.
So what were you referring to?