News for hackers. Stuff that matters.
Re:Learning Ruby: Things I Like, Things I Miss from Python by bambataa on Tuesday February 16, 2021 @03:12AM (#26151916)
What Rails-equivalent framework does Golang have?
Re:Learning Ruby: Things I Like, Things I Miss from Python by capableweb on Tuesday February 16, 2021 @03:15AM (#26151933)
I myself usually opt for the "small set of composable libraries" way of development nowadays, but I've worked with teams using Buffalo and Beego which kind of provides a "batteries included" approach that Rails follows too.
Re:Learning Ruby: Things I Like, Things I Miss from Python by LordHeini on Tuesday February 16, 2021 @04:08AM (#26152230)
I found Revel to be quite similar.

I would say it is as productive as rails too.

There is no ActiveRecord and way way less magic which slows (initial) development speed but it pays off in less bugs to fix.

So overall development speed is roughly the same. But with Go you gain co routines and nice performance which can make life a lot easier.

Gos type system, while somewhat poor, still helps too.

The worst part of the whole thing is actually the weird Go std lib templating.

Re:Learning Ruby: Things I Like, Things I Miss from Python by enumjorge on Tuesday February 16, 2021 @03:34AM (#26152042)
Same question but for Node.
Re:Learning Ruby: Things I Like, Things I Miss from Python by capableweb on Tuesday February 16, 2021 @04:08AM (#26152232)
NodeJS has even more "batteries included" frameworks than Golang. Sails, Hapi, NestJS and Adonis are probably the most popular right now, at least from my viewpoint (traditional SaaS web development)