Re:CppCon 2018: Simplicity: Not Just For Beginners [video]
by fsloth on Saturday September 29, 2018 @03:05AM
(#18099087)
Yeah, memory handling is still challenging to handle correctly - in the sense it need forethought and constantly remembering what one can and can't do (list iterators good long term references, vector iterators bad long term references, etc). string_view is a good example of a situation where garbage collector would save a lot of headache.
See https://github.com/isocpp/CppCoreGuidelines/issues/1038 for an example of what I'm talking about.
So, readability increases, but the mental load of making sure that stuff doesn't break in subtle and non-euclidian ways keeps increasing, at least when refactoring existing codebases.