[Python-ideas] [Wild Idea] Static Ducks

Dj Gilcrease digitalxero at gmail.com
Sun Sep 20 04:43:05 CEST 2009

On Sat, Sep 19, 2009 at 8:29 PM, Talin <talin at acm.org> wrote:
> I'm not the first person to attempt this, so if you want to try a language
> that is statically typed, but inspired by Python, then I suggest checking
> out Boo or Scala.

I dont want Static typing as it exists in Java or C or whatever other
statically type langue that exists. I think of what I am trying to
accomplish as an easier way of having syntax for type checking that
does not involve having to do isinstance or hasattr checks in every
place you want to validate the type. You just set the type using a
decorator style syntax and the type checking is done automatically for
you, which will reduce code repetition, especially in getter/setter
methods of properties.

More information about the Python-ideas mailing list