News for hackers. Stuff that matters.
Re:Show HN: htmgo - build simple and scalable systems with g... by winrid on Sunday September 29, 2024 @01:35AM (#41685175)
Reminds me of https://j2html.com

Which I have also been starting to use for one project, with quarkus, been a nice experience so far.

Re:Show HN: htmgo - build simple and scalable systems with g... by thwg on Sunday September 29, 2024 @05:32AM (#41686078)
j makes me shudder. But thanks for sharing.
Re:Show HN: htmgo - build simple and scalable systems with g... by winrid on Sunday September 29, 2024 @12:48PM (#41688570)
haha, to be fair my Java code is more like Go than typical Java. I should probably try Go someday.
Re:Show HN: htmgo - build simple and scalable systems with g... by mattgreenrocks on Sunday September 29, 2024 @06:26AM (#41686346)
Have you tried Renarde and Qute?
Re:Show HN: htmgo - build simple and scalable systems with g... by winrid on Sunday September 29, 2024 @10:52AM (#41687815)
Yes. My concern is the template compilation will get really slow or the custom IDE integration will get out of date and break.
Re:Show HN: htmgo - build simple and scalable systems with g... by mattgreenrocks on Sunday September 29, 2024 @03:21PM (#41689677)
It will suggest a tweak to config if it sees live reload times going past 4s. That seems to help a lot on my 2019 MBP.

I hear you on point #2 though. The Red Hat IntelliJ plugin for that seems janky to me. And JetBrains own plugin doesn’t seem great either. In fact I don’t know if I’ve ever seen autocomplete in a Qute template ever.

Shame, because the rest of the stack is so damn good.

Re:Show HN: htmgo - build simple and scalable systems with g... by winrid on Sunday September 29, 2024 @06:41PM (#41691463)
> It will suggest a tweak to config if it sees live reload times going past 4s

No I mean, I can tell it will get slow, haha.

> the rest of the stack is so damn good.

I agree! (so far, I think)

Re:Show HN: htmgo - build simple and scalable systems with g... by jacques_chester on Sunday September 29, 2024 @12:41PM (#41688539)
Also Gomponents, a similar project for Go: https://www.gomponents.com