Hacker News new | ask | show | jobs
by hitchhiker999 3475 days ago
That's lovely. Beautiful, readable, elegant bit of code.

(35 years experience)

1 comments

Thanks, it actually wasn't a great example to make my point because that file contains actually a few things I do try to avoid, but it does demonstrate that "generated HTML" doesn't have to be ugly and hard to read, using TypeScript or even JavaScript if you have a consistent architecture for how it's done.