On 20/11/19 12:14 pm, Andrew Barnert wrote:
Off the top of my head, there’s Smalltalk, which I suspect is where
Guido got the idea, and ObjC, which got it from Smalltalk, and Swift,
which got it from ObjC,

I don't think Smalltalk/ObjC do quite the same thing. Sometimes you
see a pattern like

   (SomeClass new) initWithArgs: ...

but that's something you do explicitly -- it's not built into the
language. If Python were like that, it would only have __new__,
and if you wanted an __init__ you would have to call it yourself.

--
Greg
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/ZQYNEOVKJ55B4IF356JXTOXGZ2ETD4HB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to