3 ms·
Jumping around is the nature of code in general, whether its in a 1000-line file or split up amongst multiple files. For a maintenance programmer, they may alr
by alphanumeric0 4y ago
Jumping around is the nature of code in general, whether its in a 1000-line file or split up amongst multiple files.
For a maintenance programmer, they may already understand how everything works. They aren't following a particular code path, necessarily. Maybe they're working on a new feature and they need to re-familiarize themselves with previous chapters. It that case, it's nice to jump to a file that concerns itself with things grouped together.
- kreeben 4y ago>> things grouped nicely together fixed it for ya :) I'm a maintenance programmer. Even working layers of layers of layers above the actual shit does not make it not stink. >> jumping around ...should be intuitive and joyful, not a disaster to your brain. EDIT: I am a fan, though, of SOC. I guess enterprisey code tries to be that (but fails hard at it).
- alphanumeric0 4y agoOkay, 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?
- kreeben 4y ago>> 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?
- jyounker 4y agoIf 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?