@jk the problem is it usually won't remain 4 lines for a long time. And honestly I'm not experienced enough to predict future complexity.
Writing 270 lines of generic code is easier and safer for me.