Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

Static typing incurs restrictive boilerplate while only eliminating a small subset of all possible bugs. I will admit the guarantees it gives you are nice but I’d argue that the guarantees immutability-all-the-way-down gets you in a language like Elixir are stronger. You don’t get those guarantees on ANY of the statically-typed languages that run on the JVM because as soon as you interop with anything Java, bye-bye guarantees.

And this is anecdotal but with good pattern-matching and guards in Elixir, I can’t remember the last time I created a bug that would have been made impossible by static typing.



> Static typing incurs restrictive boilerplate

Wrong, type inference has been aa thing for decades.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: