2 ms·
OO programming is great fun! Take a real world model and simulate it with some OO code in your favorite language. For instance, model an elevator system in a
by bprater 18y ago
OO programming is great fun!
Take a real world model and simulate it with some OO code in your favorite language.
For instance, model an elevator system in a large apartment complex. Model the buttons, the elevators, the call buttons, the system the decides what elevator goes to which floor, etc. Those are all objects interacting with each other in some form.
You can't hardly screw up. Mastering OO takes many years, so just get out there and starting hacking around.
BTW, you can read all you want about driving a car, but until you sit down in the driver's seat, it isn't going to "click".