Quote:
|
Originally Posted by Kevin Sevcik
Quote:
|
Originally Posted by Alan Anderson
Why? What particular itch would be scratched by having OO in your robot-programming toolkit?
|
Well it would let you use << instead of printf's. Heck you could overload << operator to output motor values or set the target of a PID loop or other mostly useless but amusing things, I suppose.
|
I was asking about
Object Oriented, not
Operator Overloading. My question is this: how would object-oriented programming be useful in programming a FIRST robot?
Modular programming is obviously a good thing, but I don't really see a good use for classes and inheritance and polymorphism and such.