Re: [Pyobjc-dev] Default to returning (void)?
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2004-02-16 18:31:06
|
On 16-feb-04, at 17:03, b.bum wrote: > On Feb 16, 2004, at 7:50 AM, Ronald Oussoren wrote: >> On 16-feb-04, at 16:15, Marc-Antoine Parent wrote: >>> Le 04-02-16, =E0 00:00, b.bum a =E9crit : >> I'm all for adding easy to use names instead of using selector()=20 >> directly, we'll have to do that anyway if we want to use syntactic=20 >> sugar later on. >> >> CVS will soon contain the functions that Bob proposed. > > For once, I may have managed to beat Ronald to this. Let's hope I got=20= > it right. You did manage to beat me. There's one thing I don't like about your=20 change: the function name, I prefer an initial lowercase letter. That=20 also reads nicer with the proposed syntax changes for properties: def objc.accessor setFoo(self, newFoo): =09 or def setFoo(self, newFoo) [objc.accessor]: I'm not yet 100% sure if I like a single function instead of a pair of=20= functions. Ronald -- X|support bv http://www.xsupport.nl/ T: +31 610271479 F: +31 204416173 |