Home
About
  • 1002: Keep Files Smaller Than You

    Mar 31, 2021 coding strategy code smell

    Think about it when you are writing your code. You do not want to deal with building-sized Filesaurus. The creature with laser-eyes, poisonous breath, invisibility, and teleportation. How To Avoid It No file is large from the beginning. All files are created empty. However, over their existence, they slowly grow. If …

    Read More
  • 1003: Follow Naming Convention

    Mar 31, 2021 coding code smell

    Each codebase is using some naming conventions. Either explicitly by following some document, or implicitly by following patterns already used. It should always look like the file was written by a single person. In the example below you can see how it should not look like: 1num_legs = 6 2wings = 2 3number_of_stings = 1 …

    Read More
  • 0013: Be Aware of Bikeshedding

    Mar 18, 2021 strategy bias productivity teamwork coding

    Law of triviality is C. Northcote Parkinson's 1957 argument that people within an organization commonly or typically give disproportionate weight to trivial issues. "The time spent on any item of the agenda will be in inverse proportion to the sum [of money] involved." A reactor is so vastly expensive and …

    Read More
  • 0012: Have Confidence Boosters in your Back Pocket

    Mar 17, 2021 strategy productivity morale

    Every day may not be good. Sometimes when you get stuck, nothing works as expected, your morale and self-confidence may get low. It could happen to everybody, and it is completely fine. You should not, however, stay in this state for too long. To bounce back you should know what works for you. One such thing could be …

    Read More
  • 0011: Make Small Steps

    Mar 16, 2021 strategy productivity morale

    Finishing a task is a daunting challenge. It is not easy to figure out where to start, not to lose direction, and get to the finish. You can apply this rule on different levels. You can divide large work items into smaller tasks. You can split single routine into many smaller ones. Tasks Splitting large task into …

    Read More
  • 1000: Use Search-oriented Programming

    Feb 12, 2021 coding strategy

    The idea of search-oriented programming is based on two premises: Every useful class, method, or attribute has been used at least once. If nobody is using it, do not use it either. Every line in mature software has been checked by multiple people. Therefore every class, method, or variable has a descriptive and …

    Read More
  • 1001: Keep Methods Smaller Than Your Head

    Feb 11, 2021 coding strategy

    Discussions about ideal function lengths are never-ending. My rule of thumb is that the ideal function should fit into your head. If it is longer, it will not fit there, and therefore you cannot reason about it. To determine if the function is too long, place your head next to the screen, and compare its length with …

    Read More
  • 0007: Don't Be Blocked

    Feb 10, 2021 communication teamwork

    Getting your work done is very important. Therefore it is necessary to make sure that you can proceed with your tasks smoothly. To ensure that it is useful to look ahead and think about your dependencies. It is important to keep track of the work of your teammates to be able to see early if they are progressing as …

    Read More
  • 0008: Don't Be Blocker

    Feb 10, 2021 communication teamwork

    Getting your team's work done is very important. Therefore it is necessary to make sure that you are not blocking others. Keep track of work of your teammates, so you know when your work will be needed by others. If you find out that somebody will need your work when it will not be done, reach out to them. Try to …

    Read More
  • 0009: Reduce Round Trips

    Feb 10, 2021 communication teamwork

    As developer you will be very often communicating with other parties asynchronously. Typical examples of such communication are email, messages, as well as discussions in pull requests or document. It may take from several minutes, to hours, or even several days before you will get reaction to your actions back. If the …

    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

Martin Majlis

Technologist, perpetual student, continual incremental improvement.
Read More

Recent Posts

  • 1002: Keep Files Smaller Than You
  • 1003: Follow Naming Convention
  • 0013: Be Aware of Bikeshedding
  • 0012: Have Confidence Boosters in your Back Pocket
  • 0011: Make Small Steps
  • 1000: Use Search-oriented Programming
  • 1001: Keep Methods Smaller Than Your Head
  • 0007: Don't Be Blocked

Tags

STRATEGY 11 TEAMWORK 8 COMMUNICATION 6 CODING 5 PRODUCTIVITY 3 CODE-SMELL 2 MORALE 2 BIAS 1

Copyright2025 DEV RULE BOOK. All Rights Reserved