A good question to ask here would albo be “how large should functions be?” It will, of course, depend on what we’re trying to accomplish; but if we must pack 100+ nodes into a single function, perhaps it’s time to break it up it into smaller, more manageable, reusable, logical pieces.
And comment everything even though you think it’s obvious. It is now, it will not be not next week. And it will be cryptic next month