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
Turns out, both are provided by Rails (ActiveSupport)
Ruby only provides
empty? (For Arrays, Hashes and Sets)2
There is a difference between knowing the path and walking it