← Back to context

Comment by foxygen

9 hours ago

You can still have schema validation at the borders of the application(data in/out) without static typing.

I think there are many other factors that come into play when it comes to maintaniblity of large projects. I'd easily choose to maintain a large Elixir or Common Lisp codebase over a Java one, assuming they were all using the Best Practices™ of their respective languages.

There is research out there, and there is absolutely zero evidence that static typing catches more bugs than dynamic types. My experience is that immutability, functional programming, simplicity and testing pays a MUCH bigger role in maintainability than static typing.

Dynamic typing has trade-offs, and so does static typing, HUGE trade-offs by the way. But for some reason, no one seems to mention them... ever.

Silly me for falling for the bait after two one-word replies in a row.

If I need to specify this is about data flow inside your application when we're talking about typing, I don't want think we're having the same conversation.

Hopefully someone else will want to mud wrestle on this.