Ask your own question, for FREE!
Computer Science 19 Online
OpenStudy (anonymous):

http://ideone.com/yxwOK I wish to learn the 'object-oriented' way of doing things. Can anyone share some OO concepts with me, and how I can improve my code by following those concepts (i.e. all those functions under "Algorithms" can probably be inside some kind of class)

OpenStudy (rsmith6559):

I'd recommend downloading Thinking In Java from http://www.mindviewinc.com/Books/downloads.html . It's not the current version, but it's free. The first part of it goes over OOP in detail.

OpenStudy (jagatuba):

Also you should download and play with Alice 2.2 ( http://www.alice.org/index.php?page=downloads/download_alice2.2). This is s great software that introduces OO concepts easily and in a fun way. Do not jump to conclusion thinking it's too simple though. It is actually a very powerful programming system and I have done some amazing things with it.

OpenStudy (shadowfiend):

Also worth looking at are Ruby and Smalltalk. Smalltalk is a pure OO language, in that absolutely everything is an object and everything communicates by sending messages. Ruby isn't quite as pure, but is a hybrid of Smalltalk and more common programming idioms. These two are, in my mind, instrumental to understanding how to do OO right. The Java world has to introduce a variety of hacks because Java is a crappy, feature-poor language, while the Smalltalk and Ruby worlds both take full advantage of what OO can really mean.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!