Comments by "MrAbrazildo" (@MrAbrazildo) on "You dont know OOP" video.
-
0:10, I heard some bizarre things other languages do to inheritance. But C++ treats it nicely. I never got issues with this feature. For instance, that "diamond problem" doesn't exist (at least not by default).
2:50, I came from a C background. I even made my final college work in C. OO was a relief. Safer, easier, higher-level, better for crafting tools (key for improving the language) and also performatic, if the programmer knows what he is doing.
4:07, yeah, you are right: a simple variable can fit into that description, since it's indeed a "shared state of many previous operations" . But the key difference remains on the encapsulation provided by OO - at least in C++. FP can only offer global variables with a filter (setter). In C++ you can control who can even call its setters. This is a huge win! 4:17, but if it can't control who can call those f()s/data, its OO doesn't mean much.
12:53, interfaces are bad: start slow and eventually end up being bad design. See this talk: https://www.youtube.com/watch?v=aKLntZcp27M&t=720s
1