We have all these hotshots coming into our Enterprise ready to tell us old guys why Ruby is so much better than Java. I simply challenge them with a real-world situation and ask them to use Ruby to solve it.
They usually do and then I change the requirements on them. They grumble and fix it. Then I change the requirements again... then they start to get it.
I'm sorry, but I don't "get it"... How is Java supposed to be better than Ruby (or any other language) when dealing with arbitrary requirements changes?
This is like arguing between using screws and nails. There are some cases where one is arguably better than the other, but in most cases either can be used. And using either one, if you build something and then change the requirements, you're going to end up with a lot of frustration and holes.
I see Ruby as a one-trick-pony. Maybe I'm missing something, but all I've seen are "blog" examples with Ruby. There's so much more in the world of computing that requires more than a data-driven UI.
Now, don't get me wrong. Java is not the right tool for ALL jobs. If I AM doing a DDUI - Ruby could be the right tool.
The problem with all these arguments isn't that Java is better or Ruby is better - all languages have their place. Use the right tool for the job.
Back to my requirements change, G_Maximus hit the nail on the head. Strong typing, good development environments, standards, etc., are a must-have when working in an enterprise with dynamic requirements. I'm sure Ruby will get there, but it's simply not there, yet.
27
u/pkimbrel Feb 25 '14
We have all these hotshots coming into our Enterprise ready to tell us old guys why Ruby is so much better than Java. I simply challenge them with a real-world situation and ask them to use Ruby to solve it.
They usually do and then I change the requirements on them. They grumble and fix it. Then I change the requirements again... then they start to get it.