Re:Code doesn’t have to be a mess
by alphanumeric0 on Monday July 25, 2022 @05:51PM
(#32231405)
Okay, great. You are a maintenance programmer. You have a 1000-line program all in one file. You need to update the e-mail functionality of this program. You aren't following a stack trace or following a particular code path. There are 15 or 16 different e-mail related functions. How do you find the e-mail function you need to update? Do you memorize line numbers? Use regex search? Do you have vim marks setup?
[ Parent
| on HN ]
>> here are 15 or 16 different e-mail related functions
Is this you showboating the greats of layered code?
Depth is not width and width is not depth, but surely you see the difference in the two?