DEV Community

Discussion on: Which principles would your Hippocratic Oath for programming contain?

Collapse
 
mtpiercey profile image
Matthew Piercey

Hmm...

"Write it like it'll last forever, test it like it broke yesterday" 😉

Or something like that. There's probably a better way of putting it, but I think it's vital to keep the future users/maintainers in mind (even if they're your future self).

It's a tough one though; I know if I waited to release stuff until it was "future-proof", then I'd have finished very few projects.

Obviously no code is truly future-proof, but it's incredible to see some examples of legacy systems, long-running open-source codebases, and what's turning into generation-spanning software projects. Just because you think you'll get around to "fixing it later" doesn't necessarily mean you will. On the plus side - especially with open-source code - it means that good ideas generally stick around.

Great discussion prompt; sure got me thinking!

Collapse
 
jmfayard profile image
Jean-Michel 🕵🏻‍♂️ Fayard

Love it, thanks!

Collapse
 
icaruscomplexz profile image
icarusComplexz

That is so good I might get it tattooed.