2 ms·
I've used and debugged type issues in Redux, but even when we figured out what was going on I was often left with the feeling that it was trying to be too cleve
by sime2009 4y ago
I've used and debugged type issues in Redux, but even when we figured out what was going on I was often left with the feeling that it was trying to be too clever. In the same way that we should strive towards simpler and easier to understand code, we should do the same with the types we use. Wanting ways of doing even more complex types using ever more complex type systems, seems like the wrong direction. IMHO, much of that complexity is due to what we desire, not weaknesses in the type systems themselves.