From: Luigi Ballabio Date: 2001-05-08T00:31:54+09:00 Subject: [ruby-talk:14782] Re: skipping arguments At 11:40 PM 5/7/01 +0900, Dennis Decker Jensen wrote: >"Dave Thomas" wrote in message > > > > Then these would be valid calls: > > > > addPerson('Fred', 23, MALE, BROWN) > > > > addPerson 'Barney' withSex: MALE withAge: 20 > > > > addPerson 'Wilma' withHair: BLONDE > > > > (again, remember the syntax is just made up). > > > >I don't care if it is made up! >This syntax is great! I would vote for that syntax if it is possible >at all that way! > >Someone asked about getting rid of commas, which sounded very >interesting. >I'll ask also: >Do you need to type the commas for other reasons than conventional >wisdom? Well, maybe one reason is that it would be very difficult then to tell Ruby from Smalltalk... No! I'm just joking, please don't flame me! :) Bye, Luigi