On Wednesday, April 2, 2003, 10:30:47 PM, Robert wrote:


> "Gavin Sinclair" <gsinclair / soyabean.com.au> schrieb im Newsbeitrag
> news:15081712235.20030402193331 / soyabean.com.au...
>> On Wednesday, April 2, 2003, 2:47:15 AM, Robert wrote:

>> I tend to create classes even for really simple apps, because Ruby
>> executes everything as it finds it, meaning procedural code needs to
>> be organised bottom-up.

> That's an interesting point of view I've never thought of.

>> Putting things in classes (including a method "main") allows you to
>> organise your code how you like, and then just call
>>
>>   MyApp.main
>>
>> at the end.

> You don't come from the Java camp, do you? :-)

Yeah, Java was perhaps my most-practiced language before Ruby,
although there was a brief stopover at Perl.

I use the convention above not for any love of Java, but for the sake
of having a convention :)  And the word "main" has stuck with me for
many years now.

Gavin