Hacker News new | past | comments | ask | show | jobs | submit login

I didn't know what entropy means in software, so here's the definition[0]:

----

  Software entropy is a measure of the disorder or complexity of a software system. It is a natural tendency for software entropy to increase over time, as new features are added and the codebase becomes more complex.

  High entropy in software development means that the code is difficult to understand, maintain, and extend. It is often characterized by:

      Duplicated code: The same code or functionality is repeated in multiple places, which can make it difficult to find and fix bugs.
      Complex logic: The code is difficult to follow and understand, which can make it difficult to add new features or fix bugs without introducing new ones.
      Poor documentation: The code is not well-documented, which can make it difficult for new developers to understand and contribute to the codebase.
      Technical debt: The code has been patched and modified over time without proper refactoring, which can lead to a tangled and cluttered codebase.

  Low entropy in software development means that the code is well-organized, easy to understand, and maintain. It is often characterized by:

      Well-designed architecture: The code is structured in a logical way, with clear separation of concerns.
      Consistent coding style: The code follows a consistent coding style, which makes it easy to read and understand.
      Comprehensive documentation: The code is well-documented, with clear explanations of the code's purpose and functionality.
      Minimal technical debt: The code has been refactored regularly to remove technical debt, which makes it easy to add new features and fix bugs without introducing new ones.

[0] https://www.kisphp.com/python/high-and-low-entropy-in-softwa...



thanks for the search. this is textual entropy however, I am not sure if definition is applicable


Yes, it's not applicable. See https://en.wikipedia.org/wiki/Entropy_(information_theory) for something more applicable.


Oh, thanks for pointing out.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: