I considered making this a service, but it would depend on the respective seed, so the code ultimately felt too bloated.
In this implementation, languages that don't have a TIOBE rating get a weight of 100. Languages with one range from 417 (PowerShell) to 7 (Python), so we may have to tweak the weighing here a bit. I get the sense we need to 'compress' it so that all of them are closer to 100, from both extremes.
Implements #121.
I considered making this a service, but it would depend on the respective seed, so the code ultimately felt too bloated.
In this implementation, languages that don't have a TIOBE rating get a weight of
100
. Languages with one range from 417 (PowerShell) to 7 (Python), so we may have to tweak the weighing here a bit. I get the sense we need to 'compress' it so that all of them are closer to 100, from both extremes.