Best of TDDSeptember 2024

  1. 1
    Article
    Avatar of habrhabr·2y

    Python Clean Code: Stop Writing Bad Code — Lessons from Uncle Bob

    Transform messy, unorganized code into clean, readable, and maintainable Python code by applying key principles from Robert C. Martin's 'Clean Code'. Learn to use meaningful naming, modular functions, proper error handling, and consistent formatting to enhance your code quality. Avoid common pitfalls like excessive comments, code duplication, and side effects. Test-Driven Development (TDD) and Command Query Separation are also discussed as vital practices for robust code.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    Good software development habits

    Forming good software development habits can significantly enhance speed and maintain quality. Key practices include making small commits, continuous refactoring, prioritizing working software, creating new modules for disparate functions, and focusing on test-driven development (TDD) to anticipate edge cases. Avoid duplications, accept that designs evolve, and understand different types of technical debt. Lastly, ensure that testability is a priority to indicate good design.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    10 Software Design and Programming Best Practices for Developers

    This post outlines 10 essential software design best practices that developers can learn quickly to improve code quality, maintainability, and efficiency. It covers key principles such as modularity, encapsulation, consistent naming conventions, SOLID principles, DRY, separation of concerns, error handling, comments and documentation, test-driven development (TDD), and performance considerations.