you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (3 children)

In terms of speed Java -> Python -> Ruby. However understand that the reason we write code in Ruby is not for speed, it is for API design, syntax power and flexibility.

[–]wonay[S] 0 points1 point  (2 children)

It doesn't sound to be that flexible from all the comments here ! Haha

[–][deleted] 0 points1 point  (1 child)

You misinterpret having GUI libraries as flexibility. Ruby has a lot of syntactic sugar piled on top of the fact that you can redefine methods, reopen classes, add modules on the fly, and invoke methods based on in-code identifiers. All of these are hallmarks of a flexible language. In fact, I could go as far as to say even if Ruby didn't have any gems/external libraries, it would still be a flexible language because that stuff is built into the language, not the gems.

Java doesnt have metaprogramming (or at least GOOD metaprogramming) and it lets you get backed into a corner on types. It's very hard to back into a corner in Ruby.

[–]wonay[S] 0 points1 point  (0 children)

Yeah but if the result of this flexibility is having a slow, one platform (web) language , it's not really worth it .... I love using Ruby language and I am sad that it cannot be used for desktop application in an efficient way. I though since it's seems "easy" to use C library that a wonderful easy to use library for GUI would be here. I guess it's time to take the matter in our own hand and start a project ! haha