Category: Interview Questions

  • What are Ruby’s key features?

    Pure OOP → Everything is an object.

    Dynamic Typing → No need to declare variable types.

    Duck Typing → If it “quacks like a duck”, it can be treated as one.

    Garbage Collection → Memory management is automatic.

    Mixins (Modules) → Instead of multiple inheritance, Ruby uses modules.

  • What is Ruby?

    Ruby is a high-level, interpreted, object-oriented scripting language designed for simplicity and productivity. It has elegant syntax that is natural to read and easy to write.

    • Designed by Yukihiro “Matz” Matsumoto in 1995.
    • Popular because of Ruby on Rails framework.