On Sunday, July 3, 2016 at 9:02:05 PM UTC+12, Marko Rauhamaa wrote: > Lawrence D’Oliveiro: > >> On Sunday, July 3, 2016 at 7:27:04 PM UTC+12, Marko Rauhamaa wrote: >> >>> Personally, I don't think even π should be used in identifiers. >> > > Why not? > > 1. It can't be typed easily.
I have a custom .XCompose, so it’s just “compose-p-i”. Easy to type, easy to remember. > 2. It can look like an n. Only to someone accustomed to using just one alphabet. :) > 3. Single-character identifiers should not be promoted, especially with > a global scope. It’s no more “global” than “math.e”. And what about “1j”? (That completes the triumvirate of single-letter names from the Euler identity.) -- https://mail.python.org/mailman/listinfo/python-list