Me learning Ruby on Rails.
Ruby: There are no rules! Just add your own methods to String, call things whatever you want, parentheses are optional, go wild!
Rails: I think the f*ck not.
Discussion
Me learning Ruby on Rails.
Ruby: There are no rules! Just add your own methods to String, call things whatever you want, parentheses are optional, go wild!
Rails: I think the f*ck not.
@Gina One was written by a fascist. It does reflect into the software.
@Gina Rails is where I learned the hard way “Convention over Configuration”. It wasn’t easy the ~first~ ~second~ ~third~ fourth time I tried to start developing in it, but once I did it made looking at new projects much easier. That doesn’t mean it’s the best framework or principle by any means. Lead maintainer aside…
@Gina Since people have already commented on the monkey patching, I'll give some unsolicited advice:
I obviously don't know your motivation, but if you have a choice, you probably want to look into something different like Hanami. Reason: DHH.
@scheme I know about DHH. I'm just trying to understand my new employers code base a bit better.
@Gina isn't that why it's Ruby, but on rails?
@Gina Rails — specifically ActiveSupport — monkey-patches things to an almost ridiculous degree. So it's more like "F*ck yeah, let's go!" than "I think the f*ck not."
Hahaha, yes - if at all, it might be "...I'll do the monkey patches for you, thank you!"