>>106375242
Where should you draw the line between 'internal' API state and stuff you expose as an interface? I'm making a vulkan renderer but it's ending up more like a full fledged wrapper at this point and I'm wondering if I should just go full autism and make every subroutine fully modular and SRP or should I just keep my current system.
My current system is having a few global structs that are meticulously namespaced and live in their own distinct compilation units (theyre declared extern w respect to that unit), mostly to cut down on passing millions of arguments to functions. But now I'm starting to think maybe passing millions of arguments around would be better overall because it would make a better API. Also I have stage 5 terminal cancer so I need an answer right now.
anime rec: spirit of wonder OVAs, china san no yuutsu, and shounen kagaku club