Fotis and I have different ideas on how to realize the customization of functionality in mint2. Here are the 2 approaches.
Both approaches work and should not differ too much in performance. Having coded the latter, I believe that the config approach is good, but suffers from config file bloat and difficult maintenance. So it should be used sparingly, and where the configuration is actually a string value and not a selector for different functionality. The disadvantage is, that you need to edit code and not config if you want to change behaviour.
For the time being, I will use my approach for customizing Solrize behaviour, until I get convinced of the config file approach.