Recent submissions

Comment · 2 months ago
I understand and respect this position. I think syntax highlighting is a highly subjective matter, bordering on personal preference with regard to shell interactions, editor configurations, bindings, shortcuts, snippets, and the like. It's also... insignificant somehow, like quibbles over formatting rules that Go settled once and for all with `go fmt`.

I often prefer not to enable syntax highlighting just for color. Occasionally I'd choose some minimal theme that only highlights string literals and keywords. So it has two or three colors. But some of the color schemes I see are a festival of lights where every special element of syntax has its own color. I don't understand how that is supposed to help me parse anything and why the rules are complex. The `range` keyword needs to be purple, and `chan` must be navy blue. Why exactly? And every site has a different color scheme? There is no consensus, and there shouldn't be.

For a serious community-driven project like Go, dealing with the question of syntax highlighting is strange. The creators deliberately avoided the questions of IDEs and editors for Go, leaving them to the community. I think the same principle applies here.

Comment · 6 months ago
I don’t believe the Go compiler would reject unformatted code. The compiler has its own set of rules for what it views as syntactically correct code, but these rules have nothing to do with gofmt’s formatting rules.

For example, it’s the compiler and not gofmt that dictates that you must write a curly brace only on the same line of an “if” statement. If you put it on the next line, you don’t have unformatted code - you have a syntax error.

However, the compiler doesn’t care if you have too much whitespace between tokens or if you write your slice like []int{1, 2,3,4}, but gofmt does.

We could say the rules of the compiler and gofmt don’t even overlap.

Comment · 3 years ago
Hmm, only Gmail addresses appear trustworthy then? What else is so prevalent... Outlook?
Comment · 3 years ago
> communism killed 100 million people (myth debunked hundreds of times)

A myth? Do you not know why there are monuments to victims of communism all over Europe? Have you not heard of the holocaust that the Bolsheviks unleashed on Russians, Ukrainians and countless other ethnic groups? Do you not know how many millions of people were murdered in communist China during its Cultural Revolution? Do you not know why communism is often rightly compared with Nazism?

Comment · 4 years ago
I did ponder whether to not mention Go in the title, but I had noticed that it's unclear what the devs mean by "support for 23 languages". Go is known to have been their main focus. In general, there is no documentation whatsoever, although the editor is interesting.
Comment · 4 years ago
Defining disinformation exhaustively and concretely is an impossible task, it's almost like defining beauty. Moreover, disinformation is not even contradictory to "vetted, objective facts", because not all "information" (which is also hard to define) is necessarily intended to be viewed as factual, and not all information has any kind of deliberate intent associated with it (malicious or useful).

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton