News for hackers. Stuff that matters.
Re:That's Not an Abstraction, That's Just a Layer of Indirec... by xtracto on Saturday December 28, 2024 @07:30AM (#42530588)
Smells like Ruby to me haha. I know is not the language, but for some reason the ruby code I've stumbled into are all like that.
Re:That's Not an Abstraction, That's Just a Layer of Indirec... by vidarh on Saturday December 28, 2024 @10:01AM (#42531472)
To me it sounds like what I use Ruby to get away from.

It's rare to need facades, proxies, and shims in a dynamically typed language where the caller doesn't need to care about the type of the object they call.

In fact, most of the Gang of Four design patterns either make no sense in Ruby or are reduced to next to nothing.