Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #4782

Re: Using "class Object" for a project

From Phillip Gawlowski <cmdjackryan@googlemail.com>
Newsgroups comp.lang.ruby
Subject Re: Using "class Object" for a project
Date 2011-05-19 15:05 -0500
Organization Service de news de lacave.net
Message-ID <BANLkTin59eNeiMua2ASZE3f1eB0UdDZNmQ@mail.gmail.com> (permalink)
References <a758af90f801ff5df85c80e0f184f560@ruby-forum.com> <BANLkTingUJrG38EmNBu-EB5M0-CzBVbS2A@mail.gmail.com>

Show all headers | View raw


On Thu, May 19, 2011 at 8:50 PM, Robert Dober <robert.dober@gmail.com> wrote:
>
> I am most curious why you want to have a base class for all classes in your app?
> Can you think of something which they all are? If not you are probably
> not making the best design choice here.

Every thing in a MUD/IF has a location, description, material
(possibly), bulk, visibility, smell, and a name, and methods
interacting with these properties.

-- 
Phillip Gawlowski

A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
               -- Leibnitz

Back to comp.lang.ruby | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Using "class Object" for a project "Markus H." <shevegen@gmail.com> - 2011-05-19 12:21 -0500
  Re: Using "class Object" for a project Joel VanderWerf <joelvanderwerf@gmail.com> - 2011-05-19 12:58 -0500
  Re: Using "class Object" for a project 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-19 12:37 -0500
  Re: Using "class Object" for a project Robert Dober <robert.dober@gmail.com> - 2011-05-19 13:50 -0500
    Re: Using "class Object" for a project Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-19 15:05 -0500

csiph-web