3 ms·
Building things to be easy to replace often does not mean quick hacks. Quick hacks are most likely hard to trow away, not easy. Building things to throw away m
by marcosdumay 7y ago
Building things to be easy to replace often does not mean quick hacks. Quick hacks are most likely hard to trow away, not easy.
Building things to throw away means componentizing your code, that is extra work overall.
- tomnipotent 7y ago> Building things to throw away means componentizing your code No it doesn't. You can really tell who has and hasn't worked at a start-up by the responses to OP.
- kevinwang 7y agoWhat does it mean, then?
- erikpukinskis 7y agoI’m not sure how you can have such a strong no reaction to a statement that can mean almost anything. The word “component” barely means anything at all. Lots of room for interpretation there.
- eikenberry 7y agoHe's right that it doesn't mean quick hacks, but it doesn't really mean "componentizing" either. It means keeping it simple. Don't over-engineer it (componentize it) but don't use some ugly hack or cut-n-paste off SO either.
- vinay_ys 7y agoYou are right. You have to make architectural choices to build a soft layer that can absorb such hacky throwaway code that can be pruned easily later. Usually a hard platform layers sits underneath it and supports this. Following Conway's law, usually there are teams to build and enforce the platform constructs that are relatively debt free and there are teams that work on the soft application layer on top of those platforms where these throwaway hacks can be easily put. You have to design for this in your architecture. But if this strategy is right for your business domain, then once you make the initial investment, it will pay for itself multiple-folds. You will see this pattern in online gaming code bases.