<div dir="ltr">Also, how do you handle special methods for operators, such as __add__?</div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-14 13:18 GMT+02:00 Steven D'Aprano <span dir="ltr"><<a href="mailto:steve@pearwood.info" target="_blank">steve@pearwood.info</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, May 14, 2017 at 11:12:21AM +0400, Abdur-Rahmaan Janhangeer wrote:<br>
> Whatever you all propose,<br>
><br>
> coming from a java and c++ background, OOP in python is quite cumbersome.<br>
<br>
</span>In what way it is cumbersome?<br>
<span class=""><br>
> if you tell that i am not a python guy, then consider that current oop<br>
> style does not reflect python's style of ease and simplicity<br>
<br>
</span>That is one opinion.<br>
<span class=""><br>
<br>
> is __init__ really a good syntax choice?<br>
<br>
</span>I don't understand the question. Are you complaining about the name<br>
"__init__"? Do you think it would be easier to write if it was spelled<br>
"init" or "new" or "Constructor"?<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
--<br>
Steve<br>
______________________________<wbr>_________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/<wbr>codeofconduct/</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Antoine Rozo</div></div>
</div>