News for hackers. Stuff that matters.
Re:15 years trying to make everyone separate HTML, JavaScrip... by hitchhiker999 on Tuesday December 20, 2016 @02:05AM (#13218044)
That's lovely. Beautiful, readable, elegant bit of code.

(35 years experience)

Re:15 years trying to make everyone separate HTML, JavaScrip... by ClayFerguson on Tuesday December 20, 2016 @11:01AM (#13220981)
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.