lawrence@lemmy.world to Programmer Humor@lemmy.ml · edit-29 months agoOk, at some point we made a big mistake.lemmy.worldimagemessage-square15fedilinkarrow-up111arrow-down10file-text
arrow-up111arrow-down1imageOk, at some point we made a big mistake.lemmy.worldlawrence@lemmy.world to Programmer Humor@lemmy.ml · edit-29 months agomessage-square15fedilinkfile-text
minus-squaretyler@programming.devlinkfedilinkarrow-up0·9 months agoTake a look at some typescript libraries and frameworks and you will see stuff like this. Completely unreadable mess.
minus-squareMeltrax@lemmy.worldlinkfedilinkarrow-up1·9 months agoStyled Components’ type system is one of the most impressive and most fucked up things I’ve ever had to dive into.
minus-squaresloppy_diffuser@sh.itjust.workslinkfedilinkEnglisharrow-up0·9 months agoNot OP, and these examples are not unreadable, but they are a few steps up from your typical generics. https://effect-ts.github.io/effect/effect/Unify.ts.html#unify https://effect-ts.github.io/effect/effect/Pipeable.ts.html
Take a look at some typescript libraries and frameworks and you will see stuff like this. Completely unreadable mess.
Styled Components’ type system is one of the most impressive and most fucked up things I’ve ever had to dive into.
For example?
Not OP, and these examples are not unreadable, but they are a few steps up from your typical generics.
https://effect-ts.github.io/effect/effect/Unify.ts.html#unify
https://effect-ts.github.io/effect/effect/Pipeable.ts.html
Right to jail. Right now.