▲ | alternatex 4 days ago | ||||||||||||||||
Static typing is a replacement for unit tests aimed to catch type bugs. Also, no one has 100% code coverage so might as we get some guarantees for granted. I understand that statically typed code doesn't mean bug-less code, but I always find it odd that dynamic language enthusiasts feel like they need to stretch the benefits. Dynamic languages are great for many things. Strictness is not one of them and that's fine. | |||||||||||||||||
▲ | esafak 4 days ago | parent [-] | ||||||||||||||||
It's obviously not a replacement. You can get the types right but the values wrong due to faulty logic. | |||||||||||||||||
|