Language Before Framework

Several years ago, I came across a quote1 about how learning python via Django. The author said that if you don’t properly know python, you may not understand what is Django specific and what is not.

FWIW, even after working with python, I never used Django in any of my main project. But I did learn python first before the frameworks.

Fast forward to few days ago. I am working on Ruby code to read from Azure Service Bus.

I have been working on rails project for a while now, and (indirectly) learned ruby via rails.

In rails, I am used to checking for nil via .present? and/or .blank? Turns out, both are provided by Rails (ActiveSupport)

Ruby only provides nil? and empty? (For Arrays, Hashes and Sets)2

There is a difference between knowing the path and walking it

-Morpheus 3

  1. I could not find the exact quote I was looking for, This is the closest I got. ↩︎

  2. nil?, empty?, blank? in Ruby on Rails ↩︎

  3. Knowing the path ↩︎