Related differences

Ques 56. Explain how (almost) everything is an object in Ruby.

  • This is a simple question based on complex concept. Here’s your chance to show off your theoretical knowledge and demonstrate that you can have an in depth conversation on class hierarchies, inheritance, methods, encapsulation, polymorphism, and more.

  • Explaining this could take an hour or a few minutes – there’s no single correct answer here, save from being able to demonstrate your familiarity with OOP concepts.

Is it helpful? Add Comment View Comments
 

Ques 57. What’s your favorite testing tool?

The specific answer here is probably not important in and of itself – What’s important is that you can demonstrate familiarity with at least several testing tools, and be able to discuss their individual advantages and weaknesses. Never ventured outside of Rails default testing tools? Take some time to familiarize yourself with tools such as Rspec, FactoryGirl, Capybara, and Cucumber.

Is it helpful? Add Comment View Comments
 

Ques 58. What are Gems and which are some of your favorites?

Gems are packaged bits of Ruby code that you can install to extend or add functionality to your app.
Be sure to be able to discuss a list of your favorite gems, why you like them, and any customizations you like to add. This is also a good opportunity to highlight any gems you may have published.

Is it helpful? Add Comment View Comments
 

Ques 59. What is a class?

You should easily be able to explain not only what a class is, but how and when you would create a new one as well as what functionality it would provide in the larger context of your program.

Is it helpful? Add Comment View Comments
 

Ques 60. What is the difference between a class and a module?

The straightforward answer: A module cannot be subclassed or instantiated, and modules can implement mixins.

Is it helpful? Add Comment View Comments
 

Most helpful rated by users: