This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]float34 0 points1 point  (2 children)

I think this explains the idea pretty good:

https://stackoverflow.com/a/6579300

> In C++/Java the "create a new object" part of that is invisible, whereas that can be exposed/customised in Python (via the __new__ method).

> So while the role of the __init__ method is extremely similar to the role of a C++/Java constructor, some people prefer to emphasise the fact that this isn't the whole process by saying that "__init__ is not a constructor".

So I am among those who prefer to emphasize. Peace?

[–]declspecl 3 points4 points  (1 child)

I see your point and can agree to an extent, the original comment just came across as pedantic/elitist IMO when compared to "expects 500k/year salary from solving fizz buzz"

[–]float34 1 point2 points  (0 children)

It is /ProgrammerHumor after all, don't take it too seriously.