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...


Explain some differences between ruby and python.



Explain some differences between ruby and python...

Answer / Lokesh Kumar

"Ruby and Python are both high-level, interpreted languages, but they have some differences. Ruby is more flexible with syntax, allowing for block notation (do...end) and symbolic method names. Python is generally considered more readable due to its use of whitespace for indentation, while Ruby uses end keywords. Python has dynamic typing by default, while Ruby has static typing (though it can be dynamic)."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

Which ruby interpreter option enables debugging?

1 Answers  


What is ruby methods?

1 Answers  


What is the naming conventions for methods that return a boolean result?

1 Answers  


What is the scope of a local variable in ruby?

1 Answers  


Please explain the role of thread pooling in relation to the thread lifecycle in ruby?

1 Answers  


Explain about portability?

1 Answers  


Tell me how you can list all routes for an application?

1 Answers  


Please explain what is mvc and why do we use it?

1 Answers  


How is object methods defined in ruby?

1 Answers  


Tell me how would you freeze an object in ruby? Can you provide a simple example?

1 Answers  


Does hash use “ #==” or “#eql?” To compare hash keys?

1 Answers  


Please explain what are some advantages of using ruby?

1 Answers  


Categories