News for hackers. Stuff that matters.
Re:Show HN: htmgo - build simple and scalable systems with g... by maddalax on Sunday September 29, 2024 @08:26AM (#41686845)
Well when you put it all on one line it doesn’t look great :)

With it properly spaced out and nested, after a few days it started reading exactly like HTML to me, where I can quickly see the hiearchy

Re:Show HN: htmgo - build simple and scalable systems with g... by snorremd on Sunday September 29, 2024 @08:49AM (#41686992)
As a developer who has worked extensively with React and Reagent (a ClojureScript wrapper around React) I actually enjoy this kind of syntax. Better that then some custom HTML templating syntax I need to learn in addition to the language.

It doesn't look too bad if one also break the code into multiple functions to make "layouts" and "components".

I have had lots of fun building with Bun, ElysiaJS, and HTMX. Might test your go library out as well. Looks pretty neat.

Re:Show HN: htmgo - build simple and scalable systems with g... by maddalax on Sunday September 29, 2024 @09:30AM (#41687269)
Awesome, yeah those are pretty nice technologies. Definitely let me know if you do / encounter any issues!