Applying Chesterton's Fence to software development is well-motivated by the realization that ones fellow programmers are generally competent people.
Often people driven to accumulate technical debt, it's true, but if something seems really weird and pointless it's worth assuming the author had a good reason.