Skip to content
MichaelWhi edited this page Oct 18, 2012 · 2 revisions

Problems 2

Motivation:

What is nice example for a simple object oriented design?

Well, instead of modeling a simple business problem, lets implement the usual List in Ruby and see how we could do that. We will see there are many ways with some advantages and some disadvantages. You'll also notice that there is always a way to implement something in Ruby like in any other imperative/OO-language but sometimes also a, let's call it, Ruby way to do a thing. :)

Clone this wiki locally