Why you shouldn’t inherit from Ruby’s core classes (and what to do instead)
Sooner or later you’ll want to subclass Ruby’s String, Array, or Hash. In this now-free RubyTapas video, you’ll learn why that’s a bad idea… and what to do instead.Director’s commentary: This was originally published as RubyTapas episode .
Why you shouldn’t inherit from Ruby’s core classes (and what to do instead) #ruby #rubydeveloper #rubyonrails #classes https://rubyonrails.ba/single/why-you-shouldn-t-inherit-from-ruby-s-core-classes-and-what-to-do-instead