logoalt Hacker News

watermelon0 • today at 6:57 PM • 3 replies • view on HN

Rob Pike seems to dislike syntax highlighting:

> Syntax highlighting is juvenile. When I was a child, I was taught arithmetic using colored rods (http://en.wikipedia.org/wiki/Cuisenaire_rods). I grew up and today I use monochromatic numerals.

https://groups.google.com/g/golang-nuts/c/hJHCAaiL0so/m/kG3B...

He is definitely not alone in thinking this, for example (but for different reasons): https://www.linusakesson.net/programming/syntaxhighlighting/


Replies

genxy • today at 8:14 PM

I like Linus's work, but that post smells of rotting strawmen. All the examples look manipulated into throwing the opposition under the bus.

metaltyphoon • today at 8:01 PM

Not convinced at all by these reasons. Rob Pike has long stepped down from the Go team so it shouldn't matter? This is a website not a language change.

applfanboysbgon • today at 10:16 PM

Wow, that second link does exactly what I do when I'm talking to people about skittle highlighting; demonstrating a skittle highlighted snippet of prose to show how absolutely harmful it is. I only started doing that maybe three years ago, so they've got me beat by 15 years or so! Glad I'm not alone on this crusade, at least. It is genuinely my belief that skittles have cost humankind millions of manhours of productivity, at minimum.