SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: Why ruby

  1. #1
    SitePoint Addict goodmast3r's Avatar
    Join Date
    Apr 2005
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Why ruby

    Hi, I'm currently a php programmer. One question that I always want to do, why should I learn Ruby. Is it better than PHP?

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    They, like all Turing-equivalent languages, are functionally equivalent. You can do everything Ruby can do in PHP, and you can do everything PHP can do in Ruby. Neither is better than the other, they're just different. If you want to try something different, then maybe you'll want to learn Ruby.

    Erlang and Clojure are the hacker languages of the month, though. The Ruby fad has passed.

  3. #3
    SitePoint Addict goodmast3r's Avatar
    Join Date
    Apr 2005
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dan, how about the business? Is RUby more paying? How's its prospect?

  4. #4
    SitePoint Guru
    Join Date
    Oct 2006
    Location
    Queensland, Australia
    Posts
    852
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ruby is apparently higher paying from what I've seen (on average). I'm also in the same boat as you goodmast3r. I've been using PHP for a few years now, and I've just started learning Ruby as of a few days ago. After playing around with true object-orientated and functional languages such as Scala, Fantom and eventually Ruby, I don't think there's anyway I can stick with PHP. I don't have any particular problems with PHP (especially since PHP5.3), other than languages such as Ruby are simply nicer.

  5. #5
    SitePoint Member
    Join Date
    Jan 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ruby is the perferd language, because it's an easy language and because of that, you can concentrate more on your algorithms than on your problems with the programming language it self.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •