3 ms·
> Operator overloading is critical for building ergonomic frameworks. The modern web is built on overloading the . operator (e.g. ORMs like Rails and Django). W
by KRAKRISMOTT 3y ago
> Operator overloading is critical for building ergonomic frameworks.
The modern web is built on overloading the . operator (e.g. ORMs like Rails and Django). We will never see a Tier-1 ORM in Golang simply because it lacks it.
Not true. It can be replaced with codegen.
See Ent (spun out of Facebook I believe)
https://entgo.io/docs/getting-started https://entgo.io/docs/getting-started
- pphysch 3y agoAs I said, there won't be a Tier-1 ORM in Go. Ent or Gorm are tier-2 at best. They can get the job done, but it ain't pretty. Any advantages of Go (and there are many) are outweighed by the fact that you have to write and read 2x more code to be equally productive as Rails or Django.
- KRAKRISMOTT 3y agoYou should actually try Ent, it's about as good as commercial ORMs like Prisma.