Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are differences between ruby and python?



What are differences between ruby and python?..

Answer / Gagan Gunjan

Ruby and Python have several differences: Ruby is more flexible in terms of syntax, using whitespace to define structure, while Python uses indentation. Ruby is also dynamically typed (with optional type checking), and it supports multiple inheritance, while Python is statically typed and does not support multiple inheritance. Lastly, Ruby emphasizes metaprogramming and has a rich introspection API.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What is the difference between nil and false in ruby?

1 Answers  


How an exception is handled in Ruby?

1 Answers  


How to write multiline string in Ruby?

1 Answers  


Tell me how you can create a controller for subject?

1 Answers  


Where does a scope change in a ruby program?

1 Answers  


What is a struct in ruby?

1 Answers  


what is the difference between Procs and Blocks?

1 Answers  


Explain the garbage collection feature of ruby?

1 Answers  


What function converts all html special symbols to html entities in ruby?

1 Answers  


Do you know how ruby looks up a method to invoke?

1 Answers  


How do the following methods differ: @my_string.strip and @my_string.strip! ?

1 Answers  


How would you create getter and setter methods in ruby?

1 Answers  


Categories