On 4/12/23 04:03, Ali Mohseni Roodbari wrote:
>
On 4/13/23 07:50, Stefan Ram wrote:
>    If tomorrow Python would allow "string+int" and "int+string"
>    in the sense of "string+str(int)" and "str(int)+string",
>    what harm would be there?
>
>    But for now, I think a typical approach would be to just use "str",
>    i.e., "string+str(int)" and "str(int)+string".


I agree with Py Zen rule 2 in this case:
Explicit is better than implicit.

I hate when things try to guess what I am doing... It is why I can't use lxml.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to