4 ms·
The type system is fun right up until you are using it to its full ability in generics..then you look at the 5 lines of 'type logic' you spent the last day debu
by agloe_dreams 3y ago
The type system is fun right up until you are using it to its full ability in generics..then you look at the 5 lines of 'type logic' you spent the last day debugging and ask yourself how you got here.
- svachalek 3y agoI've definitely seen it suck people into a black hole. It works best when you think of it as a form of documentation with a benefit of enforcement, rather than trying to use the type system to prevent every conceivable bug. Massive unreadable types don't help programmers write better code.
- thebears5454 3y agoPretty true lol chaining something together that ends up looking like this: <<<<<<<<T>>>>>>>> Is basically a guaranteed headache