After years of development in Python I got to do some Ruby and, well... I liked it. Maybe more than Python in some ways. Is this bad? Is it going to turn me in a bad person, a drama queen hipster SJW with crazy hair?
I have some related questions: I'm learning Rails anyway but should I learn Hanami? What is Ruby's equivalent of SQLAlchemy?
Also, Ruby general, I guess.
>>53807508
Ruby's ORM is ActiveRecord.
>>53807548
Rails's default ORM is ActiveRecord*
>>53807548
>>53807561
SQLAlchemy implements a different pattern of database access. It is more like Hibernate than ActiveRecord.
http://rom-rb.org/
>>53807508
>Maybe more than Python in some ways.
It's technically superior to Python in some ways. Mostly, when it comes to implementations. But let's not whitewash it either, it's still an ad-hoc project from the 90s.
>Rails vs Hanami
If you want to go for the job Rails, otherwise Hanami.
>>53809210
The most ad hoc thing about Ruby is the default namespacing, or lack thereof.
>>53809275
What about the foreach loop that doesn't end the counter variable scope?
>>53809295
It's annoying, but unlike the namespacing it doesn't need fixing because #each is an easy to use replacement. They could just deprecate "for". Namespaces, you'd actually have to fix.
>>53809354
Point taken.