logoalt Hacker News

jack_pp • today at 12:09 AM • 2 replies • view on HN

have you tried modularizing / breaking down your code into different files (ideally each having functional code so they don't depend much on anything else) as much as possible?


Replies

wasabi991011 • today at 1:00 AM

That's my biggest issue with it personally, as an academic. Way too much unnecessary indirection that makes it harder to read and understand the assumptions and parameters going into the code, and unnecessary defensive programming for code that is just going to be run a few different ways with strictly controlled inputs.

RugnirViking • today at 12:16 AM

are you suggesting this because you think I haven't tried it? I'm genuinely confused. We are professional developers working with a team of more than 1 person. Yes we have code in multiple files and have heard of the basic ideas of software architecture.

It's like being asked if i'm using source control? It's kinda a given if you're doing more than hobby projects.

➕ show 1 reply