top | item 42529921

(no title)

themadsens | 1 year ago

Well said! I have met a few of these codesmells where the actual functioning is hidden behind a bewildering maze of facades, shims, proxies and whatnot.

I guess some has had an irresistible itch to use as many patterns from the GoF book as possible.

discuss

order

xtracto|1 year ago

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.

vidarh|1 year ago

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.