16
aceface
7y

"This should be simple. I'll just go down the least disruptive path."

*makes changes to 24 files*

Comments
  • 0
    I like it. You probably made the right choice
  • 1
    plot twist: there is no such path :|
  • 0
    simple != easy != maintainable
    and usually when i hear someone saying they'll keep it simple, it means avoiding complex logic in favour of linearity and copy pasta​, don't go that road, think your solution thoroughly before just adding parallel code to 20 functions and 14 classes
  • 0
    @Qchmqs You're right. If the code was implemented as a class instead of an interface, I could have just updated that instead of adding useless variables in addition to the one spot it was needed.
  • 0
    @aceface refactoring bells are ringing, if your code is too linear to add a single variable without editing everything from the storage to the display it's going to be impossible to edit the logic soon
Add Comment