News for hackers. Stuff that matters.
Re:Strong typing, a hill I'm willing to die on by da4c30ff on Wednesday October 04, 2023 @11:31AM (#37766617)
The take I have is that with a dynamically typed language you still have a static analysis step. It’s just that the analysis happens in your and other developers’ brain and it is objectively worse. I honestly can’t think of a single thing in favor of dynamic typing.

I write Clojure in my day job and it’s insane how often we have issues where it would have been immediately caught by a static type check.

Re:Strong typing, a hill I'm willing to die on by waffletower on Wednesday October 04, 2023 @11:50AM (#37766934)
May I interest you in some unmentioned static analyzer possibilities for Clojure: https://github.com/clj-kondo/clj-kondo https://github.com/jonase/eastwood You seem dissatisfied with Clojure in your day job -- I am sure that there are others that would be happier in your situation.
Re:Strong typing, a hill I'm willing to die on by da4c30ff on Wednesday October 04, 2023 @12:10PM (#37767249)
I'm aware of these, but thank you nevertheless. Clojure has plenty of nice things balancing the scales, so it's not all pain and misery!
Re:Strong typing, a hill I'm willing to die on by stefcoetzee on Wednesday October 04, 2023 @01:31PM (#37768659)
I'd love to learn more. Are you part of a large team (enterprise or SMB, whatever you can share)?

How have you experienced using Type Clojure, spec, Malli, etc. to determine correctness?

I've only worked on solo projects with Clojure, with most of it fitting into my head. I imagine with teams of size N > 1 things can change quite a bit.