3 ms·
>That’s a gross over-generalization to assume that 200 lines is always a self-referential mess. The point is that you don't know this until you look. You have
by hackinthebochs 6y ago
>That’s a gross over-generalization to assume that 200 lines is always a self-referential mess.
The point is that you don't know this until you look. You have to look at all 200 lines to understand the function of even one line. When you leverage functional boundaries you generally can ignore the complexity behind the abstraction.
- barrkel 6y agoYou're fooling yourself, in a mature codebase, if you think you can modify code and not look past function boundaries. That assertion would be more credible in a language that captures side effects in the type system, but that's not what most people use.
- hackinthebochs 6y agoI'm not sure what point you're making. If you are just assuming that functional boundaries tend to not be maintained in practice then you're not contradicting anything I have said. Whether or not functional boundaries are easy/hard to observe depends on the language and coding conventions.