Can anyone recommend a good web site that shows Ruby equivalents of common C++ or Java constructs. For example 1) while, for loops 2) private, protected, public A table would be good.. Any good sites to migrate from the Java language (not web framework) to the Ruby language (not Rails) Thanks! Chirag --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
chirag wrote:> Can anyone recommend a good web site that shows Ruby equivalents of > common C++ or Java constructs. For example > > 1) while, for loops > 2) private, protected, public > > A table would be good.. > > Any good sites to migrate from the Java language (not web framework) > to the Ruby language (not Rails) > > Thanks! > ChiragHi Chirag, It''s not a table like you ask but what I found useful was to read Chris Pine''s "How to Program" that teaches you programming with Ruby. I have used C for nearly 12 years, so some of the book was rather simple, but it gave me (quite quickly) the exact introductory class that I needed. It took me through all the basic concepts like what you ask in a thin concise manner. Cheers, Mohit. 6/21/2007 | 10:29 AM. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Jun 20, 2007, at 8:57 PM, chirag wrote:> Can anyone recommend a good web site that shows Ruby equivalents of > common C++ or Java constructs. For examplehttp://www.ruby-doc.org/docs/ProgrammingRuby/ -faisal --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---