Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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.


Awesome, yeah those are pretty nice technologies. Definitely let me know if you do / encounter any issues!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: