2 ms·
> I've seen worse - for example, code that takes the equivalent of that, and splits it into 100 functions across 10+ files. This so many times. Will never unde
by wiseowise 3y ago
> I've seen worse - for example, code that takes the equivalent of that, and splits it into 100 functions across 10+ files.
This so many times. Will never understand why people are so afraid of multi thousand lines of properly structured code but will happily giggle when the same structure is split across 10-20 files. And no, it’s not for reuse sake.
- voakbasda 3y agoMany thousand lines of structured code that does not get broken into logical modules ends up an unnavigable and unmaintainable mess. I would not hesitate to split up such code. Encapsulation and modularity are good engineering practices. Personally, I will not contribute to any project that opposes such things
- wiseowise 3y ago> Many thousand lines of structured code that does not get broken into logical modules ends up an unnavigable and unmaintainable mess. Where did I say anything about that?