Sponsored Links

Learn Ruby Online

www.pluralsight.com/Free-Trial     Advanced & Beginner Classes. Free 10 Day Trial. Sign Up Now!

Learn Ruby on Rails

www.gotealeaf.com/     Learn with a proven program. at web development.

Free Ruby on Rails Class

www.onemonthrails.com/free-video/     Teach Yourself to Code with this Free Step-by-step Video Tutorial

Hire Ruby developers

www.railsfactory.com/     Hire expert ruby on rails developer Delivered over 150 applications

Ruby Video Course

www.infiniteskills.com/Ruby     Beginner to advanced Ruby. Start learning Ruby today.

Ruby Programming Course

www.ask.com/Ruby+Programming+Course     Ruby Programming Course. Discover and Explore on Ask.com!

Learn Ruby (read all 5 entries…)
Ruby and OO Thinking

What object-oriented programming does is to let us delegate most of the mundane and repetitive logical work to the data itself; it changes our concept of data from passive to active. Put another way,

  • We stop treating each piece of data as a box with an open lid that lets us reach in and throw things around.
  • We start treating each piece of data as a working machine with a closed lid and a few well-marked switches and dials.

What is described above as a “machine” may be very simple or complex on the inside; we can’t tell from the outside, and we don’t allow ourselves to open the machine up (except when we are absolutely sure something is wrong with its design), so we are required to do things like flip the switches and read the dials to interact with the data. Once the machine is built, we don’t want to have to think about how it operates.



Comments:

 

I want to:
43 Things Login