19 Nov
2019
19 Nov
'19
3:45 p.m.
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