@aral See also where they use that technique.

[Not related to the main topic ->] the RORO pattern can be useful on the long term when you need to add, rename or remove arguments to or from your functions.

@severo_bo Neat – thanks for the heads up :) I did do a cursory search to see if there was anything else out there but didn’t stumble on that :)

@severo_bo (I’m also a big fan of using parameter objects once you’re past a couple of paramaters for most things) :)

@severo_bo RORO looks like something that is pretty old - namely passing records (tuples) are in or out parameters. Looks like Java Value Types to me.

[ @aral won't be able to see this alas ]

Sign in to participate in the conversation
La Quadrature du Net - Mastodon - Media Fédéré

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!