← Back to context

Comment by ck425

1 day ago

Best Software Engineering advice I ever heard was at a conference talk by a guy called Dan North: "Think of code like surgery".

Basically Surgery is a means to an end (patient gets better) and a useful tool for achieving that but it's also dangerous so only used when necessary. If other treatments can fix the problem you try them first. If surgery is required you only do the minimum required to treat the issue.

Code is similar. More code means more maintenance, more tech debt, slower deliverables in future and higher risk of dependencies no one understands. So when coding ask "Can I fix this without code?" because if yes it's often easier in the long run and "What's the bare minimum/simplest code I need to write to fix the issue?".