DEV Community

Discussion on: I'm learning to Ruby, I need your input.

Collapse
 
keptoman profile image
mlaj

Always remember that (almost) everything is an object.

Learning the actual syntax has helped me understand the magic that goes on under the hood of Ruby and Rails.
And by syntax I mean what the compiler actually sees.

For example:
myarray[key] = value
Is actually
myarray.[]=(key, value)

Knowing how the functions and objects work can help you write better code and debug faster.

Good luck!

Collapse
 
kmf profile image
Karl Fischer

Thank you