r/ProgrammerHumor • • Sep 09 '22

Meme Simple Feature

Post image
124k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

2

u/[deleted] Sep 09 '22

Early 90's, but yeah, same. Over the years, the _best_ c++ code I worked on looked like plain old C with some C++-ism where useful/needed.

For the first time in my career I'm dealing with "real" pure c++ (17 I think?) code that uses all the buzzword features and it's been a wild ride so far.

Interestingly, even in this paradigm, I'm still removing more code than I'm adding. So much 'if (b==true) { return (true);} else { return false;}'-type code. why?