Comment by atomicnumber3
12 hours ago
On the contrary, I find "The older I get, the more I appreciate dynamic languages. Fuck, I said it. Fight me." is exactly my sentiment too, with a caveat. I really like gradual typing, like python has. And not like ruby has (where it's either RBS files and it's tucked away, or it's sorbet and it's weird).
The worst code base I had to work in by far was a Python code base. Extremely difficult to refactor. Many bugs that were completely avoidable with static typing. I think maybe more modern Python is a little bit better but wouldn't be my choice for large projects. It's not just about correctness. It's also about performance. That code was so slow and that impacted our business.
Refactoring is a young mans game. I either nuke it and start over or treat it as a black box.
You can just as easily take a static language dynamic - in userland.
I've interop'd with JS from Haskell and you can just go full dynamic property access. And gradually add phantom typed APIs around it.
Debugging Haskell and JS in the same stack? You kids are brave. And/or I'm a coward and a simpleton.
I debug in ghci mostly
console.log also still works fine