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

Is ruby whitespace-dependent?

1 Answers  


Tell me how you can create a controller for subject?

1 Answers  


In Ruby code, often it is observed that coder uses a short hand form of using an expression like array.map(&:method_name) instead of array.map { |element| element.method_name }. How this trick actually works?

1 Answers  


How is visibility of methods changed in ruby?

1 Answers  


Explain some differences between ruby and python.

1 Answers  


Describe the environment variables present in Ruby?

1 Answers  


Do you know what is the defined operator?

1 Answers  


What is the pattern matching operator in ruby?

1 Answers  


Explain break statement in Ruby?

1 Answers  


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

1 Answers  


Explain Ruby exceptions?

1 Answers  


Do you know about dig, float and max?

1 Answers  


Categories