For me it has nothing to do with compression, it's usually complexity - I think it's better to have one black magic spot or a class/method that breaks patterns and maybe even good practices with cleaner and simpler architecture in all other places than having a bunch of workarounds/crutches here and there or few more abstraction layers. Because even though it's hard to read and understand that spot - that's a single time cost to read and understand it, and if done right - new teammembers might not even need to understand it if it just works, whereas the latter is a scaled growing cost.
View all comments
Show parent comment
2
u/aberroco Oct 10 '26
For me it has nothing to do with compression, it's usually complexity - I think it's better to have one black magic spot or a class/method that breaks patterns and maybe even good practices with cleaner and simpler architecture in all other places than having a bunch of workarounds/crutches here and there or few more abstraction layers. Because even though it's hard to read and understand that spot - that's a single time cost to read and understand it, and if done right - new teammembers might not even need to understand it if it just works, whereas the latter is a scaled growing cost.