News for hackers. Stuff that matters.
Re:Prisma 2.0 – Type-safe and auto-generated database client by enahs-sf on Tuesday June 09, 2020 @12:39PM (#23468149)
Not sure I 100% agree with their problem statement.

> the problem: Working with databases is difficult

Working with databases is a relatively solved problem. You can access them from just about any language on any platform. A more accurate statement would be: choosing the right access method to work with databases is difficult.

Re:Prisma 2.0 – Type-safe and auto-generated database client by ogre_codes on Tuesday June 09, 2020 @06:31PM (#23471700)
> A more accurate statement would be: choosing the right access method to work with databases is difficult.

For me, it's the fiddly bit where you interface between the programming language and the database is a PITA.

Re:Prisma 2.0 – Type-safe and auto-generated database client by nikolasburk on Wednesday June 10, 2020 @02:51AM (#23474627)
This is exactly how it's meant in the article btw!
Re:Prisma 2.0 – Type-safe and auto-generated database client by arxpoetica on Tuesday June 09, 2020 @05:50PM (#23471332)
Agree to disagree. For certain kinds of programmers who tend to think more analytically, databases are easy to work with.

For those of us who tend to think more visually or kinesthetically, I appreciate tools that are trying to solve problems at a less-lingual/code level.

Re:Prisma 2.0 – Type-safe and auto-generated database client by albertgao on Tuesday June 09, 2020 @11:05PM (#23473480)
Isn't a DB naturally embrace 'visually'? I mean, there is a table. Every time I think of a table, I get a picture in my brain... xD
Re:Prisma 2.0 – Type-safe and auto-generated database client by ronanyeah on Tuesday June 09, 2020 @04:10PM (#23470343)
Well said. Though Hasura makes it easier.