On Aug 30, 2008, at 6:08 PM, Paul McNett wrote:

>>      As far as the 'caption' keyword is concerned, I think it should
>> remain. It's nice to be able to do:
>>
>> pg = pgf.appendPage(caption="Foo")
>>
>> ...instead of:
>>
>> pg = pgf.appendPage()
>> pg.Caption = "Foo"
>
> Ok, status quo wins. Although it seems inconsistent that Caption is
> upper case.

        But that's our design: properties are title case, and so are passed  
in title case to object constructors. In this case, we are not  
instantiating an object; we are calling a method, and method  
parameters start with lower case. The param could have been  
'pageCaption' or 'titleOfPage', but 'caption' seemed the most  
consistent and easiest to remember.

-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to