Reply to post: Re: If it was hard to write, it should be hard to understand!

A developer always pays their technical debts – oh, every penny... but never a groat more

Tim99 Silver badge

Re: If it was hard to write, it should be hard to understand!

We use to run projects based on the "Rule of Two":-

Write code be twice as easy to understand than the team is capable of producing. Never put two or more expressions in the same line. Never write a function that addresses two or more business rules. Always write at least two lines of documentation for every function (Or, even every line of code). Always wait for at least version two of the tools that you are going to use to put software into a production environment. Stop writing code at two o'clock in the afternoon, then use the next two hours to check it (Then, if necessary, have a meeting about it - Which will be short because everyone wants to go home/down the pub).

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon