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 |
What is the difference between nil and false in ruby?
How an exception is handled in Ruby?
How to write multiline string in Ruby?
Tell me how you can create a controller for subject?
Where does a scope change in a ruby program?
What is a struct in ruby?
what is the difference between Procs and Blocks?
Explain the garbage collection feature of ruby?
What function converts all html special symbols to html entities in ruby?
Do you know how ruby looks up a method to invoke?
How do the following methods differ: @my_string.strip and @my_string.strip! ?
How would you create getter and setter methods in ruby?