Re:Etcd, or, why modern software makes me sad
by markus_zhang on Tuesday July 14, 2020 @04:01PM
(#23837033)
Yeah exactly, and we can also pick the features we need in a language. E.g. C++ is super complex after C++/11, but we can still just pick a small subset to make it easier.
[ Parent
| on HN ]
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...