Home » Google+ » Quadrotors as an illustration of object-oriented programming

Quadrotors as an illustration of object-oriented programming

Thinking in terms of CS, this is a good application of the principle of message passing to organize complex behavior.

Originally shared by Damien Miller on Google+

Yikes. Imagine these fitted with cortical extraction trephines…

One thought on “Quadrotors as an illustration of object-oriented programming


  1. Re. celluloid


    This is somewhat how I’ve envisioned an OO system should handle parallel processing, with asynchronous message passing and a message queue for each object. One thing I’m not clear on is when it talks about instance variable access, I’m assuming it’s talking about other objects being able to access an object’s instance variables. This would be disappointing if this is what it is, and would detract from the effectiveness of this system. The advantage you get from message passing is that each object is totally in control of its own environment, so you don’t need to worry about changing its implementation, so long as its interface is consistent.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s