2 ms·
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
by maddalax 2y ago
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
- snorremd 2y agoAs 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.
- maddalax 2y agoAwesome, yeah those are pretty nice technologies. Definitely let me know if you do / encounter any issues!