by gHosts · 7y ago · 0 comments
Every thing in computing is modular and multiple levels of modules and has coupling and dependencies between modules.
It's the hottest and hardest problem in real world computing... it's nicely representable in a graph theoretic framework.... but graph theorists aren't looking at it.
If you look at real code, often the main reason why this routine was added to this file... was that the programmer worked in this file last.
Is that a Good Reason? No it's a bloody awful reason.
An automated tool should be able to look at the network of declarations, definitions and references and work out which module each thing should be in.
It's a pretty great datastructure for writing code, you get automatic refactor everywhere.
If you're interested to take a look ping me, would love fresh eyes