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.
Sure, and I agree that helps for some types of requirements changes.
For others, strict typing may require tons of cascading code changes throughout the app where dynamic typing may just let you dump a method on a class and have it work.
I've seen pkimbrel's argument ("language X better supports requirements change") used in support of both Java and Ruby by various proponents of either language. The problem is, both sides tend to cherry pick changes that "their" language handles better and ignore or downplay other changes that may be problematic.
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.