News for hackers. Stuff that matters.
Re:The Big Oops: Anatomy of a Thirty-Five Year Mistake by robertlagrant on Thursday July 24, 2025 @06:39AM (#44669128)
> 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.

Re:The Big Oops: Anatomy of a Thirty-Five Year Mistake by morkalork on Thursday July 24, 2025 @01:37PM (#44673616)
But if you make it thingService.doThing(x,y) you're all good.
Re:The Big Oops: Anatomy of a Thirty-Five Year Mistake by phlakaton on Friday July 25, 2025 @03:54AM (#44680747)
In Go, of course, thingService would implement the interface Thinger.
Re:The Big Oops: Anatomy of a Thirty-Five Year Mistake by LearnYouALisp on Thursday July 24, 2025 @01:57PM (#44673869)
Excuse me, you need a BeanShell.BeanThread.GeneratorStalk.VeggFactory to do that in this Environment®™