3 ms·
I started learning programming without syntax highlighting (on a monochromatic display), and actually find it distracting to read multiply-coloured text. In fac
by userbinator 11y ago
I started learning programming without syntax highlighting (on a monochromatic display), and actually find it distracting to read multiply-coloured text. In fact I tend to close my eyes whenever I "mentally execute" code, as then I'm visualising variable values and output instead of the code itself.
Another article from the opposition, which I partly agree with:
http://www.linusakesson.net/programming/syntaxhighlighting/ http://www.linusakesson.net/programming/syntaxhighlighting/
(Linus Akesson is what I'd consider a highly experienced programmer, and the rest of his site is worth looking at for lots of other interesting stuff.)
- joonoro 11y agoOh god that article, I was waiting for someone to post it. I don't mean to insult your opinion but I just find it cliche because it is always posted in any discussion about syntax highlighting and it has some serious issues with false analogies. Comparing syntax highlighted prose to syntax highlighted code, equating typing on a keyboard to typing on a piano? Seriously? The author may or may not be a good programmer but that article stinks of BS. It's nice to see that the comments section is still going strong, 8 years later.
- thaumasiotes 11y ago> Comparing syntax highlighted prose to syntax highlighted code This just makes me wish you could get syntax-highlighted prose. It's not necessary for languages you have a native understanding of, but think how helpful it would be for foreign languages. :/
- TeMPOraL 11y agoLack of syntax highlighting in prose is a feature - if you had it, the authors couldn't play you with stupid tricks like garden path sentences :).
- Natanael_L 11y agoImagine how much more dense complex sentences could be if colors were used to disambiguate meanings, and yet still understandable!
- bjterry 11y agoNow I'm imagining a variant of Lojban, but where the colors have semantic meaning. It could be super dense.
- V-2 11y agoI've read this article before, it's anecdotal evidence and he's jumping to one-sided conclusions (like "'=' and '==', the only situation where it would have been useful"), not leaving any space for YMMV. I'm not questioning he's a very experienced programmer, but I know this type of highly skilled programmers - they're awesome working on solo projects and you'll be amazed at their nuclear alarm clock with Klingon language recognition, but working with them as a team tends to be an ordeal. I'm >80% sure I'd have to put the guy in this category had I met him.