On Thu, 21 May 2020 at 10:06, Thierry Parmentelat
<thierry.parmente...@inria.fr> wrote:
>
>
>
> > On 21 May 2020, at 14:48, Joao S. O. Bueno <jsbu...@python.org.br> wrote:
> >
> >  (I had a coleague once which did
> > set a special VIM config to display "!=" as
> > "[can't type, math 'different' sign from here]"
> > and even that was mostly a toy than anything
> > really useful.
>
> I guess that is my point exactly: the main reason why this person has been 
> unable to make anything useful out of that otherwise perfectly sound idea is 
> that it is not allowed in the language, so people need to mess with solutions 
> on the outside sphere - editors, IDE’s, documentation post-processing - that 
> essentially have no chance to be sustainable, and/as it causes extra burden 
> for everybody
>
> We should allow code to be natively pretty, and not rely on other tools to do 
> the prettifying job - or not
>
And then, suppose you can "solve" this chicken and egg problem
by allowing it on the language. Get 2 or 3 years for people to
catch on the language version that accepts it (how much
code out there using 1_000_000 numric spacing already?) -
then, supposing tools evolve along with it, ok, maybe in 4 years I
can fire-up a "visual studio code" with a setup that allows
me to hold a modifier key and pops-up  a floating virtual
keyboard with the unicode operators and type it almost
seamlessly - how would that help me to type code snippets
in e-mails or web-forms???

That is effectivelly locking people out of
the language unless they have a "proper coding tool" -
which likely would also be needed to display code properly.

(may I remind you that some of these symbols are not even
on the basic BMP so it is not feasible to use
them in idle. That is, if you answered the question about
which right arrow to use, asked above)

Whereas the same effort for a 'magic symbol palette'
plugin for vscode, pycharm or whatever is the IDE of
the moment can support displaying the ASCII
operators as unicode, in the way it is already possible
with VI - while keeping the source code
editable when I ssh into a docker container with
misconfigured keyboard settings.
_______________________________________________
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/ENI7PUQMUDXWKBGFBIQSJO6LWVD4CSA3/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to