Rob Cook


Home | GitHub | Dev.to | Donate | Contact

Rules of software development


2024-12-03

  1. The code is the one source of truth. If the code doesn't do it, it doesn't happen. Conversely if the code does it, then it damn well does happen!

  2. Jira and it's ilk are managerial make-believe. Whatever the ticket says doesn't matter (see rule 1). Similarly, assigned metrics of effort, time, size, are guesses (educated or not). These factors are all ultimately dictated by the code. The code is reality, the ticket in your tracking system is not.

  3. Those who can't code must cede ground to those who can. Whenever a conflict arises, it is the code that is the correct interpretation (see rule 1, again). Therefore those that can read and understand it have more insight than those who cannot.

  4. Artifacts other than the code are to be considered stale. Documentation of any kind - code comments, Jira tickets, Wikis - are most likely not in step with the code at any given moment. Treat them as secondary sources of information. Make decisions based on these with the appropriate caution (or, you know, see rule 1).

  5. Clean code is essential. Write plainly - use descriptive naming, use whitespace judiciously, apply hierarchy with methods. High level components should read at a more abstract level than lower level components. This is important (see rule 1, for the last time).

end