On Tuesday, August 27, 2019, 11:42:23 AM PDT, Serhiy Storchaka 
<storch...@gmail.com> wrote:
 
 > 27.08.19 20:07, Andrew Barnert via Python-ideas пише:
>> Before I get into this, let me ask you a question. What does the j suffix 
>> give us? You can write complex numbers without it just fine:
>> 
>>      c = complex
>>      c(1, 2)
>> 
>> And you can even write a j function trivially:
>> 
>>      def j(x): return complex(0, x)
>>      1 + j(2)
>> 
>> But would anyone ever write that when they can write it like this:
>> 
>>      1 + 2j
>
> And it has its limitation. How would you write complex(-0.0, 1.0)?

And yet, despite that limitation, many people find it useful, and use it on a 
daily basis. Are you suggesting that Python would be better off without the `j` 
suffix because of that problem?   
_______________________________________________
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/VNZM2WFLBY6P3MVS3OBK7L23ROMVDKM7/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to