5 ms·
I think your parent comment was making a good point. The "just write the code" and "don't try to be smart" mentality is good only up to a certain point. Too mu
by lovasoa 3y ago
I think your parent comment was making a good point. The "just write the code" and "don't try to be smart" mentality is good only up to a certain point.
Too much "just write the code" ends up creating huge unmaintainable monstrosities.
When you have a lot of time in front of you and a large team, it's okay to just put two junior developers at work for two weeks, and get a big CRUD REST api in the end.
But when you are trying to iterate quickly with a small team, exposing your database is not as stupid an idea as it sounds. And that's why things like Firebase, Hasura, Apollo, Postgraphile, etc. are so popular.
The post is not trying to convince people to build custom DSLs just for querying their database (sorry you had to work with that). It is saying that there are things that exist today, that dramatically reduce the complexity of full stack applications. And that whether or not we like it, this is probably the direction the industry is taking.