[Python-ideas] Allow additional separator character in variables
stephanh42 at gmail.com
Tue Nov 21 15:03:25 EST 2017
If anybody is still worried about this,
here is a 29-line proof-of-concept code checker which warns if your source
contains identifiers which are different but look the same.
2017-11-21 19:19 GMT+01:00 Mikhail V <mikhailwas at gmail.com>:
> Serhiy Storchaka wrote:
> > Yes, it causes less confusion that changing meaning of a minus.
> If those chars are not used at all, then yes :)
> And I don't recall I was exactly propsing changing meaning of minus
> > But the name моязмінна doesn't cause any confusion if used in an
> > appropriate context (for example in a lesson for young Ukrainian
> > children). I believe the above dot- and hyphen-like characters don't
> > cause confusion if used as letters in an appropriate language context.
> A single word written in local language should not. But its a perfect way
> to make whole code look like a mess.
> I think it is very interesting experience to use Cyrillic letters, since
> many are identical to Latin. So it would not be programming lessons
> in the first place, but rather constant changing of keyboard layout,
> and then trying to find unexplainable errors.
> Python-ideas mailing list
> Python-ideas at python.org
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas