Question about syntax for assigning a function to a variable

Yes, it’s convoluted, but the empty useless function could be very well a decorator. Which would add extra behavior to you stub function related to Installer. You could also do a direct assignment mi.Updater = a which is just “renamespacing” your function. But you should seriously read Rob Pike’s approach https://bit.ly/3cYYpoD. It may seem “convoluted”, but it open really interesting venues to configurations/options.