3 ms·
My most common use of generics is when testing — check out my library for typesafe test comparisons. I find it really useful because I like having readable help
by peterldowns 2y ago
My most common use of generics is when testing — check out my library for typesafe test comparisons. I find it really useful because I like having readable helpers for asserting in tests, but I also want compiler errors if I refactor things.
https://github.com/peterldowns/testy https://github.com/peterldowns/testy