News for hackers. Stuff that matters.
Re:Write code. Not too much. Mostly functions. by risfriend on Tuesday December 22, 2020 @12:04AM (#25503063)
From where I am, there are abstractions coded for APIs in the layers of - topmost API layer, then Business logic and the 3rd DAO layer. Even though there is only one implementation everytime of these layers, this structuring alone has helped maintaining the code so much easier, as everyone even across teams goes by this structure while defining any API. Can't even imagine just coding functions in large codebases without a pre-defined structure, it can become brittle over time.
Re:Write code. Not too much. Mostly functions. by axcdnt on Monday January 04, 2021 @12:12PM (#25634378)
Large functional codebases have their degree of organization too, be it modules, namespaces or something similar.