Jan 10, 2018 19:34
Thank you for your perspective as a manager. I did try to reflect on “if people can’t understand on the first pass, is that good code”. However, I would also argue that by apply design patterns (judiciously), I try to make every single class ‘have one single reason to change’ (the S in SOLID). The result is having a few extra interfaces, decorators, injectors, or factories (which are 50-80 lines long each), vs a single class that is over 400 lines long which nobody understands what it does and no one dares touch it.