News for hackers. Stuff that matters.
Re:Prisma 2.0 – Type-safe and auto-generated database client by mesaframe on Tuesday June 09, 2020 @11:28AM (#23467467)
It's funny how suddenly everyone is moving towards types. A couple of years back which was frowned upon. And was seen as anti productive.
Re:Prisma 2.0 – Type-safe and auto-generated database client by ctrlplusb on Tuesday June 09, 2020 @11:36AM (#23467537)
True. A big appeal for me with TS is that the inference engine is decent, so doesn't feel too ceremonious, and I can also tap out of the type system at any point and write a bit more gnarly code. Typing just the boundaries can be super helpful sometimes.
Re:Prisma 2.0 – Type-safe and auto-generated database client by marcosdumay on Tuesday June 09, 2020 @12:33PM (#23468098)
If by "a couple" you mean 10 to 15, then yes, that's correct.

Look at the modern type systems we have around and try to see how they are different from what was mainstream by that time.

Re:Prisma 2.0 – Type-safe and auto-generated database client by mesaframe on Tuesday June 09, 2020 @01:26PM (#23468682)
I am not talking about the state of type system. But, how they were projected as one. Especially when dynamic languages were getting popular.