Passing parameters in delegation

Sometimes we encounter a case where subroutines each pass the same parameter to one another in delegation, just because the innermost subroutines in the call-stack need it.

To avoid it, create a class, and declare methods that operate on the fields of the class, where you can assign the delegated arguments.