Re:Building a Cloud Database from Scratch: Why We Moved from...
by Shorel on Friday February 10, 2023 @12:30PM
(#34742803)
> Modern C++ reads a bit like JavaScript strangely!
I yield to your comment.
Re:Building a Cloud Database from Scratch: Why We Moved from...
by FpUser on Friday February 10, 2023 @02:04PM
(#34744137)
There is no "best practice". It depends on context. OOP is good for some things and not that much for others. Same goes for your list of "best" practices. Dismissing a paradigm in totality because some Joe Shmoe of today has declared it non cosher looks rather more like a religious statement than a practical choice.
Re:Building a Cloud Database from Scratch: Why We Moved from...
by lelanthran on Friday February 10, 2023 @02:32PM
(#34744552)
> OOP is not C++ best practice these days.
I didn't say it was.
I didn't say anything about best practice, only about familiarity.
- Smart pointers
- auto and const references all over the place
- RAII
- Pure data structs
- Free functions
- At little bit of templating but not too crazy
Modern C++ reads a bit like JavaScript strangely!