Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64832

Re: Highlighting program variables instead of keywords?

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Highlighting program variables instead of keywords?
Date 2014-01-27 01:30 -0500
References <CANc-5UwcZT18RgLqzHq0oMPA4sxfbfu0ZQhGPJBYZ0KEUJ6m2g@mail.gmail.com> <CANc-5UwkLjmwA5LCAKRGjDZaf5EiHXCfU4_Hm2e9yXsDmApR=g@mail.gmail.com> <mailman.6008.1390782718.18130.python-list@python.org> <52e5b66d$0$29999$c3e8da3$5496439d@news.astraweb.com>
Newsgroups comp.lang.python
Message-ID <mailman.6023.1390804227.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 1/26/2014 8:29 PM, Steven D'Aprano wrote:
> On Sun, 26 Jan 2014 18:31:49 -0600, Skip Montanaro wrote:
>
>> My son sent me a link to an essay about highlighting program data
>> instead of keywords:
>>
>> https://medium.com/p/3a6db2743a1e/
>>
>> I think this might have value, especially if to could bounce back and
>> forth between both schemes.
>
> Hmmm, I'm not convinced, but then I wasn't convinced by syntax
> highlighting either until I had used it for a while. (I still think it's
> a nice-to-have rather than a must-have.)

When my fingers get a bit fumbly, I find it more useful. When I do not 
hit ' or " solidly, or  type a mismatch 'something", having the string 
literal color continue is a handy clue. So is 'it' not getting the 
keyword color that if would.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Highlighting program variables instead of keywords? Skip Montanaro <skip@pobox.com> - 2014-01-26 18:31 -0600
  Re: Highlighting program variables instead of keywords? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-27 01:29 +0000
    Re: Highlighting program variables instead of keywords? Chris Angelico <rosuav@gmail.com> - 2014-01-27 12:51 +1100
    Re: Highlighting program variables instead of keywords? Ben Finney <ben+python@benfinney.id.au> - 2014-01-27 13:08 +1100
    Re: Highlighting program variables instead of keywords? Terry Reedy <tjreedy@udel.edu> - 2014-01-27 01:30 -0500

csiph-web