3 ms·
Most of what OOP is used for is to implement the thousands of minor details that go into implementing a complex system. Peruse the Firefox source code some time
by db48x 9y ago
Most of what OOP is used for is to implement the thousands of minor details that go into implementing a complex system. Peruse the Firefox source code some time; you'll find a large class hierarchy of different types of strings, and another one for different types of DOM nodes, and another for different types of documents that the nodes belong to, another for windows of various types, another for various types of images that it can decode, etc. None of that has anything to do with modelling entities in the real world.