Also, how do you handle special methods for operators, such as __add__?

2017-05-14 13:18 GMT+02:00 Steven D'Aprano <>:
On Sun, May 14, 2017 at 11:12:21AM +0400, Abdur-Rahmaan Janhangeer wrote:
> Whatever you all propose,
> coming from a java and c++ background, OOP in python is quite cumbersome.

In what way it is cumbersome?

> if you tell that i am not a python guy, then consider that current oop
> style does not reflect python's style of ease and simplicity

That is one opinion.

> is __init__ really a good syntax choice?

I don't understand the question. Are you complaining about the name
"__init__"? Do you think it would be easier to write if it was spelled
"init" or "new" or "Constructor"?

Python-ideas mailing list
Code of Conduct:

Antoine Rozo