[Python-ideas] Allow additional separator character in variables
Stephan Houben
stephanh42 at gmail.com
Tue Nov 21 15:03:25 EST 2017
Hi all,
If anybody is still worried about this,
here is a 29-line proof-of-concept code checker which warns if your source
file
contains identifiers which are different but look the same.
https://gist.github.com/stephanh42/61eceadc2890cf1b53ada5e48ef98ad1
Stephan
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.
>
>
>
> Mikhail
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20171121/2708a5b9/attachment.html>
More information about the Python-ideas
mailing list