News for hackers. Stuff that matters.
Re:GraphQL Is a Trap? by papito on Friday May 06, 2022 @10:41AM (#31285699)
Hell yes. Good knowledge of SQL is a superpower and is becoming a rare art form.

The new generation of devs thinks that frameworks and ORMs will do the magic for them at no cost, but they don't. There is no substitute for leveraging your storage engine to the max.

The sad part is that databases have evolved and became much better in the last 20 years (I started with MySQL 3.x), but we just don't use them. Everyone acts like "microservices" solved all of our technical challenges. Right.

Re:GraphQL Is a Trap? by KptMarchewa on Friday May 06, 2022 @10:45AM (#31285753)
It's "previous" generation of devs that build Hibernates and Entity Frameworks and other ORMs.

I work with "data" systems, where everything has been migrating in the other direction - to SQL - from custom code for last 5 years or more.

Re:GraphQL Is a Trap? by bcrosby95 on Friday May 06, 2022 @12:32PM (#31287104)
> The sad part is that databases have evolved and became much better in the last 20 years (I started with MySQL 3.x), but we just don't use them.

Yes, it's a bit like buying a set of silverware and insisting on using the handle as the business end incase you decide to switch your tool.

Re:GraphQL Is a Trap? by jimbokun on Friday May 06, 2022 @03:41PM (#31288955)
In my opinion, the value of a well architected micro service is to figure out how to optimize and leverage the capabilities of the underlying storage engine, while presenting a simple performant and correct API to consumers, while not requiring those consumers to understand the underlying details of the datastore.
Re:GraphQL Is a Trap? by papito on Friday May 06, 2022 @04:28PM (#31289325)
I am not talking about the customers. Of course they are not supposed to understand it. I am talking about the system design. And microservices do not solve problems in most companies, just create new ones. Distributed systems did not magically become simpler to reason about just because there is Docker.