← Back to context

Comment by IshKebab

2 days ago

I have an aversion to dynamically-typed languages because of these problems. It's not some random preference.

> You don't want to learn Ruby or Rails

Learning Ruby or Rails wasn't the problem. The Ruby language itself is fairly trivial. The issue is the lack of static types, and the fact that you can't even fall back to grep.

I know Python very well but it is almost as difficult to edit large Python codebases with no type hints. (It's not quite as bad because most Python code is greppable.)

Ruby and Rails work perfectly well for many many people, and you have chosen not to be one of them. That's a valid choice, but it's your choice and nothing more. It really isn't much about Ruby or Rails.

I grep through Rails code bases all the time. It is my first-choice method of discovery. In the very rare cases where it does not work immediately, I set a breakpoint and run from the REPL. This never does not work, even in the GitLab code base.

I have my criticisms of Ruby, and Rails, too. But your "near zero" comment is a shallow dismissal that captures your biases and presents them as some kind of informed truth. It is not.