News for hackers. Stuff that matters.
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?
Re:Code doesn’t have to be a mess by kreeben on Monday July 25, 2022 @07:09PM (#32232157)
>> 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?

Re:Code doesn’t have to be a mess by jyounker on Monday July 25, 2022 @07:58PM (#32232565)
If you have 15 or 15 different e-mail related functions spread across a whole bunch of files, how do you find the one you need to update?