DEV Community

Saurabh Sharma
Saurabh Sharma

Posted on

5

Why most static typing example show a problem that can be solved by a test.

I think there is something I cant see. Whenever someone introduce static typing, they show an example problem that can be solved with a test case.

Instead of comparing how tests would have solved it and how types can solve it, they don't even talk about tests

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay