Live data from Hacker News

I program without syntax highlighting

hakon.gylterud.net

11–20 of 70 posts

Re: I program without syntax highlighting

#11
I’ve tried in the past to explain/promote/defend my syntax-coloring-free serenity, but I wish I’d thought of this:

> Syntax is not the most challenging part of programming.

It seems like unless you’re learning the language it’s mainly a distraction.

Re: I program without syntax highlighting

#13
> The first thing one thinks when going from highlighted to unhighlighted code might be «This code is just a grey mash of symbols». Though, this sensation quickly fades as one gets engaged in the code. This “getting in to the groove”-part of the programming session is remarkably short, and afterwards code is more readable than English.

I mean, the fact that many people seek out and use highlighted code underlines that many people don't experience what you experience.

I remember back in the day programming PHP in notepad, unhighlighted. Finding Sublime Text 2 with highlighting was a revelation.

Re: I program without syntax highlighting

#14
I think language matters quite a bit when it comes to how useful this is.

For simpler syntaxes like C or Java, I think the highlighting adds little. But as a language allows for more complex things like monkey patching or helper methods and the like, a little bit of color is really helpful. Knowing immediately that a method is built into the SDK or that it's some monkey patch that's been added gives me better understanding on what the code is doing.

That said, "go to definition" and "autocomplete" are the most important tools to me when it comes to coding.

Re: I program without syntax highlighting

#15
post #9

Earlier quoted context omitted.

I think Torvalds also goes on that list as another ACME user. He mentioned as much in the extended video interview he did with Microsoft recently. For myself, I've had to spend a lot of time without colorful syntax recently as I was working on building my own IDE and my own syntaxes and even my own system of syntax highlighting. It would have been a distraction to be constantly fighting with someone else's system of…

Is the Torvalds interview available somewhere? I thought he used his own hacked-up micro Emacs thing, but maybe he dropped it.

In this interview from last year he talks about using uemacs still and how it doesn't have syntax highlighting: https://www.youtube.com/shorts/BHmyxsIdOHQ

Re: I program without syntax highlighting

#16
As a dyslexic programmer, I often think about how I would never be able to do the job I do without syntax highlighting.

I don’t really know why it works so well for me, but I think it helps me skim and pattern match syntax much more easily without spending too much time reading every single word, which is exhausting for me.

Types and autocompletion in an IDE also help me massively reduce issues with spelling and ultimately free up my brain to think about the logic rather than stressing out about every single thing I type.

Really cool that some people don’t need it, but for me, I am grateful to those who have spent the time on great themes. Solarized Dark is a favourite of mine.

Re: I program without syntax highlighting

#18
For about two and a half years I worked on a Smalltalk system, written in a quite old Smalltalk, which gave me two idiosyncrasies editor-wise: I no longer care very much about syntax highlighting (though I don't really bother to turn it off), and I now prefer to use proportional fonts for my programming. The only syntax highlighting I missed in the Smalltalk was a fading out of comments (which would in fact have prevented a stupid issue similar to the comment thing shown in the OP).

Re: I program without syntax highlighting

#19

I think language matters quite a bit when it comes to how useful this is. For simpler syntaxes like C or Java, I think the highlighting adds little. But as a language allows for more complex things like monkey patching or helper methods and the like, a little bit of color is really helpful. Knowing immediately that a method is built into the SDK or that it's some monkey patch that's been added gives me better underst…

I was an engineer on the Visual Studio team when we first introduced syntax highlighting and code completion. The rollout triggered quite a bit of internal controversy. A sizable group of developers strongly opposed these features—syntax coloring, parameter completion, signature validation—arguing that “real programmers write their code unaided.”

I can’t help but wonder how those same engineers are adapting to the current wave of AI-powered development tools like Claude Code and Cursor.

Re: I program without syntax highlighting

#20
post #9

Earlier quoted context omitted.

I think Torvalds also goes on that list as another ACME user. He mentioned as much in the extended video interview he did with Microsoft recently. For myself, I've had to spend a lot of time without colorful syntax recently as I was working on building my own IDE and my own syntaxes and even my own system of syntax highlighting. It would have been a distraction to be constantly fighting with someone else's system of…

Is the Torvalds interview available somewhere? I thought he used his own hacked-up micro Emacs thing, but maybe he dropped it.

Aha, found it. No you're right it is his own hacked up emacs fork, but he does also say that it lacks color. Found it in the video here: https://www.youtube.com/watch?v=sCr_gb8rdEI&t=2415s
Post reply on HN