On Sunday, 2 September 2018 at 19:42:20 UTC, bauss wrote:
Woud be so much more maintainable if I could have each statement into a variable that could be maintained properly.
You could extract the body of the static foreach into a [template] function.