Helping with the OO learning curve: How to connect two objects

October 25, 2011 at 9:11 am Leave a comment

A significant problem of all object-oriented programming systems has been the learning curve of getting to know the object system.  I’ve seen little work on helping the programmer to understand the object system.  I had just these kinds of problems when I was trying to figure out the sound classes in Java, and suddenly had to deal with all these Consumer and Producer classes that I’d never heard of. The below is an interesting step in helping the programmer fill in that knowledge.  An interesting follow-on question: What does the programmer remember after using Matchmaker about the object system?  Does the programmer learn anything?  Does knowledge accrue and transfer?

In the Eclipse framework, the window that displays code written in the new language is called an Editor; a function that searches the code for symbols or keywords is called a Scanner. That much a seasoned developer could probably glean by looking over the Eclipse source code. But say you want to add a new Scanner to Eclipse, one that allows you to highlight particular symbols. It turns out that, in addition to your Editor and Scanner objects, you would need to invoke a couple of objects with the unintuitive names of DamageRepairer and PresentationReconciler and then overwrite a function called getPresentationReconciler in yet a third object called a SourceViewerConfiguration.

With Matchmaker, the developer would simply type the words “editor” and “scanner” into the query fields, and the program would return the names of the objects that link them and a description of the modifications required to any existing functions.

via An oracle for object-oriented programmers – MIT News Office.

Entry filed under: Uncategorized. Tags: , .

There is gender in software, and there’s empirical evidence of influence on problem-solving There is No Profit in Education, No Competitive Advantage to Better Learning.

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 )

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Trackback this post  |  Subscribe to the comments via RSS Feed


Enter your email address to follow this blog and receive notifications of new posts by email.

Join 10,185 other subscribers

Feeds

Recent Posts

Blog Stats

  • 2,060,306 hits
October 2011
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  

CS Teaching Tips


%d bloggers like this: