Zugzwang152
Lifer
- Oct 30, 2001
- 12,134
- 1
- 0
Originally posted by: BingBongWongFooey
Originally posted by: Zugzwang152
Silly things like not being able to do function_that_returns_array(someargs)[0]
I wasn't aware that this wasn't possible, however I don't consider this to be a significant disadvantage. it adds a single line to dump the result of the function into a variable and access variable[0]. True, it will add up in a complex (non-web) application, but the performance hit is negligible to non-existant, and it doesn't deteriorate readability of the code either.
That's why I said that specific examples are kind of a waste of time. Yes this one thing is not a huge deal, but there are these "little" things everywhere and they end up changing the whole experience.
in either event, i'm going to take a closer look at ruby when i get a chanec :thumbsup: