It's the expressiveness that is the killer feature for me - you can write everything in several clear expressive ways, which makes for highly readable code, and makes it easy to build DSLs.
This seems to be lacking in most other languages - you can't even come close to writing Rspec or Rake or the like, because you are always coming across problems with parentheses or blocks. There are other things that it's good for, but the expressiveness is where it is unique, amongst popular languages at least. - Korny On Sat, Apr 24, 2010 at 1:35 PM, 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. > > -- Kornelis Sietsma korny at my surname dot com kornys on twitter/fb/gtalk/gwave www.sietsma.com/korny "Every jumbled pile of person has a thinking part that wonders what the part that isn't thinking isn't thinking of" -- 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.
