Comment

Comment by Hendrikto

> I was hesitant to write the entire frontend in C, but it wasn't nearly as painful as I imagined.

> All too many times have I:

> * Fought vim to highlight Go's html/template syntax.

> * Fought helix to detect Go templates without breaking html detection.

> * Fought rustrover to recognize jinja templates for a project using askama.

> Using C means there's no second language for your editor to half-detect, no mixed-syntax where highlighting falls apart, no plugin dance to get the two languages to cooperate.

None of that has to do with C. You can apply the exact same approach in Go, or in any other language for that matter.

parent Hendrikto 18 days ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton