2 ms·
Textbook examples of object oriented programming are notoriously bad. Stuff like, Dog dog = new Dog("Spot"); dog.bark(); These are toy examples meant to q
by tantalor 10y ago
Textbook examples of object oriented programming are notoriously bad. Stuff like,
Dog dog = new Dog("Spot");
dog.bark();
These are toy examples meant to quickly introduce the mechanics of objects, not teach good software engineering patterns.