Oops, I did mean to post this question earlier but it appears that Andrew
has beaten me to it! It follows on from my earlier announcement that I'm
writing a book.

I know why *I* like Ruby, but knowing why *other* people like Ruby may add
more credence to the answer for the "Why Ruby?" question so many ask.

Some of the things I like:
* Everything's an object, which means you can define methods on everything,
even object instances themselves.
* Blocks
* The ability to open classes
* Modules

On 24 April 2010 13:35, Andrew Grimm <[email protected]> wrote:

> Ryan Bigg asked on twitter what people liked about ruby. My thoughts
> couldn't be crammed into 140 characters.
>
> Blocks are something special. One minute you're using a less verbose
> `for` loop, the next you're on your way to thinking about functional
> programming, and how to hide information and implementation that isn't
> relevant right now.
>
> Apart from that, a lot of what I like are in terms of "It avoids the
> pitfall X of language Y".
> * It doesn't require you to declare variable types
> * (For Rails, not ruby as such) Getting information about
> database-based objects is done for you, you don't necessarily have to
> write your own SQL query, like framework-less PHP
> * Code is somewhat more readable than Perl, and you don't have to
> worry about whitespace (Python)
>
> I also like the ruby community, and its libraries.
>
> I must be missing something though. Any thoughts?
>
> Andrew
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby or Rails Oceania" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rails-oceania%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rails-oceania?hl=en.
>
>


-- 
Ryan Bigg / Radar

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to