News for hackers. Stuff that matters.
Re:Etcd, or, why modern software makes me sad by MaxBarraclough on Tuesday July 14, 2020 @08:35PM (#23839872)
> we can still just pick a small subset

Unless you have to work with legacy code or libraries.

Re:Etcd, or, why modern software makes me sad by munchbunny on Tuesday July 14, 2020 @09:31PM (#23840219)
Then some poor soul gets to wrap the old patterns into the new patterns!

But seriously, if modern C++ has one thing going for it, it has a great backwards compatibility and forward refactoring story.

I'm not a huge fan of the "evolved" syntax, and I rarely use C++ anymore, but I like modern C++ substantially more than C++03, which was where I first cut my teeth as a programmer.

Re:Etcd, or, why modern software makes me sad by MaxBarraclough on Wednesday July 15, 2020 @01:33PM (#23848583)
> Then some poor soul gets to wrap the old patterns into the new patterns!

This isn't always an option. Google's C++ guidelines generally forbid using exceptions, but concede that you might have to if you're dealing with existing code, particularly on Windows.

https://google.github.io/styleguide/cppguide.html#Windows_Co...

Re:Etcd, or, why modern software makes me sad by ruke on Wednesday July 15, 2020 @09:38AM (#23845021)
C++ is approaching Javascript and other modern languages with Moduless!!