by cgg1 on 3/9/25, 6:35 AM with 161 comments
by liampulles on 3/9/25, 11:22 PM
Then I discovered Go and learned a different way to make systems. At first it was strange - where was the IoC framework? How do I build up my db entities?
And then I got into the philosophy of Go: how its better to make things that are clear rather than clever, and how its better to do things with an obvious control flow. In my current Go job, we wire singletons manually, build up our http server manually, and write raw SQL. It works gangbusters.
Please lets keep Go raw and simple.
by voodooEntity on 3/9/25, 9:30 AM
https://blog.laughingman.dev/article/Building_a_simple_demo_...
by Daril on 3/9/25, 9:55 AM
One of the things I would discard would be the use of an ORM library : every library adds another level of complexity and doesn't allow to see what is happening when the SQL statements are built. In my opinion, it is better to create some simple methods for each object that implement the CRUD operations and build the SQL statements directly.
It is possible to write a web application with GO using only some libraries, for example for routing and authentication.
My favorite place to start is Autostrada : https://autostrada.dev/
by mkl95 on 3/9/25, 11:14 AM
by adamors on 3/9/25, 9:03 AM
> simplifying the learning curve for Y language developers
You'll just end up writing the same old patterns in the new language as you did in the old one.
Especially with Go, it's really easier to adopt the existing tooling (most of which is in the standard lib) than to port whatever concepts Laravel/PHP had.
by JadoJodo on 3/9/25, 2:32 PM
by leetrout on 3/9/25, 8:36 PM
by myflash13 on 3/9/25, 1:10 PM
by pknerd on 3/9/25, 9:52 AM
As someone who loves both Laravel and Go, this is a Godsend! I would get back to Go only for using this!
by pooingcode on 3/10/25, 7:54 AM
by DeathArrow on 3/9/25, 8:16 AM
by juwjfoobar on 3/9/25, 9:33 PM
by begueradj on 3/9/25, 11:07 AM
Given the standard batteries included in Go, I think there is even less chess for this to succeed.
But still that is a good thing to try. Why not. All the best.
by zsoltkacsandi on 3/9/25, 9:04 AM
by gren236 on 3/9/25, 11:46 AM
by capitanazo77 on 3/10/25, 2:02 AM
Please add inertia. It will make it extremely productive!
by ulrischa on 3/9/25, 2:05 PM
by ofrzeta on 3/9/25, 9:43 AM
by mogaal on 3/9/25, 1:21 PM
I keep having mix feelings when having this dichotomy
by thr0waway001 on 3/9/25, 10:22 PM
by khantsithu on 3/9/25, 12:01 PM
by dankobgd on 3/9/25, 11:20 AM