I wanted to learn a bit of Go to understand a new way of handling errors, instead of using exceptions, errors are handled as values. In theory this can also be done on C, a language that I had already experience in. However, I did not use erros as values at the fullest extend, thus, Golang.
The idea of at least trying a new programming language to learn a new way of doing things is very enticing to me. Learn a new way of doing handling errors or how to make every loop a recursions. Just try Golang for the first or any functional programming language for the second. To grow we have to explore and experience.
Furthermore, I heard that Go was very simple and easy to use, I wanted it to give a try. It seems to be widely use as a backend with Htmx, the second part of the framework.
I never wanted to learn one of this very popular frontend web framework, as I had the fear of becoming to much of a web developer. So upon hearing that Htmx allow you to "do front end as the backend", I was in.
If I could developed a small web app treating it as an API through passing html, that could be really cool. Maybe it is better for people that do not have web experience, like (future) AI Engineers like me.You build the app like an API with the HTTP verbs, without complicating things (hopefully).
In the end the present of Htmx on the code was very sparse, as I did not see much use in it. Just building a search bar for the blog post was good enough. But I have enough experience now to not be completly lost when a small interface between a web app and an AI service/interaction is needed. Will see if it of use.
I also did not want to learn any Javascript, Htmx can be a way of at least hiding it so I did not get scared.