Adding static typing to Python

Magnus Lie Hetland mlh at vier.idi.ntnu.no
Mon Mar 18 16:48:33 EST 2002


In article <a75gfi$vr1$1 at newsg1.svr.pol.co.uk>, Nick wrote:
>"Brendan Hahn" <bhahn at spam-spam.g0-away.com> wrote in message
>news:bhahn-ya02408000R0403021410080001 at news.corp.hp.com...
>> Courageous <jkraska at san.rr.com> wrote:
>> >One of the things I like about C sharp is their use of attributes,
>> >where you can define getters and setters on an attribute, but
>> >otherwise the attribute is simply used as if it were a public one.
>>
>> Eiffel does this. It was one of the first things to make me say "Cool!"
>> when I started looking into it.
>>
>> bhahn at transoft.mmangle.net   <-- unmangle address to reply
>
>Object Pascal does that as well.
>
>

Python too (as of 2.2).

--
Magnus Lie Hetland                                  The Anygui Project
http://hetland.org                                  http://anygui.org



More information about the Python-list mailing list