Re:What are some of the most disliked programming languages?
by swat535 on Wednesday November 01, 2017 @06:05PM
(#15605929)
None of the points you made are specific to ruby. Any language can have technical debt, dangling pointers and so on.
I think you might have had the misfortune of running into mismanaged code bases.
[ Parent
| on HN ]
Re:What are some of the most disliked programming languages?
by bjz_ on Wednesday November 01, 2017 @10:06PM
(#15607248)
> Any language can have technical debt, dangling pointers and so on
Any language can have tech debt, but I want access to tools in order to help me refactor my way out of that. Working with Ruby feels like building on a foundation of sand with mashed potatoes. It requires a huge amount of discipline to maintain a good enough test suite to combat code rot, and even then, a sufficiently paranoid test suite becomes a hindrance to change (not arguing against tests, just how much extra testing a dynamic lang requires of you if you want to have confidence). You have to refactor incredibly slowly, one small change at a time.
Dangling pointers are not an issue in languages like Haskell, and ML. We've had these around for decades. Thankfully most newer languages are banishing them.