How could anyone enjoy maintaining and writing this spaghetti code? All over the place and complete madness with this dead 'Scala' language.
Whoever introduced it to Twitter must have been optimizing in complication and write-only code.
Anyone can see that this code has a bus factor of less than 3 and counting down as you add more code to this monstrosity.