Do we really need const?

Bruce Adams tortoise_74 at yeah.who.co.uk
Tue Sep 18 00:26:28 PDT 2007


Bill Baxter Wrote:

> Robert Fraser wrote:
> > Lionello Lunesu Wrote:
> > 
> > There seems to be a general push (among many computer scientists) to
> > enforce stricter rules, yet some of the most successful languages in
> > the past few years have been dynamically/duck typed. 
> 
> Note however that as these languages mature people are gradually trying 
> to put some notion of interface-checking back in.  I only really know 
> about python, but there we have pyprotocols 
> (http://peak.telecommunity.com/PyProtocols.html) and zope.interface 
> (http://www.zope.org/Products/ZopeInterface) that both aim to put some 
> non-duck type checking features back into the language.  Because, 
> surprise, when you're scaling up to huge systems it becomes difficult to 
> figure out exactly what kind of duck you're supposed to be passing.
>
So in other words the duck stops here ;)



More information about the Digitalmars-d mailing list