On 7/11/07, Jaime Metcher <[EMAIL PROTECTED]> wrote:
> Just musing about how to preserve some of the documentation benefits of
> typing in the presence of duck-typing.

Use the hint= attribute and readable argument names.

I've seen various (repeated) suggestions to use custom attributes such
as _type= and _returntype but I really don't see the point. The hint=
attribute already shows up in the auto-generated documentation and
lets you describe exactly what the argument / return value are about.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283524
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to