Remix.run Logo
robertlagrant 5 days ago

> Suddenly clicked for me why some people/languages prefer doThing(X, Y) vs. X.doThing(Y)

It's when you start writing ThingDoer.doThing(X, Y) that you begin questioning things.

morkalork 5 days ago | parent | next [-]

But if you make it thingService.doThing(x,y) you're all good.

phlakaton 4 days ago | parent [-]

In Go, of course, thingService would implement the interface Thinger.

LearnYouALisp 5 days ago | parent | prev [-]

Excuse me, you need a BeanShell.BeanThread.GeneratorStalk.VeggFactory to do that in this Environment®™