This is a delightful question because there are many solid answers to it, but they're all different, and come from different contexts. 1. Statistical: I've seen plenty of good codebases with tests and not types but none with types and not tests. So tests are better.https://twitter.com/flazz/status/1129548567314685953 …
-
-
... cough ... tests in types via type providers ... cough ...
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
If the language supports run-time reflection you can put the types in your tests.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.