Best of Code ReviewJanuary 2024

  1. 1
    Article
    Avatar of pointerPointer·2y

    The art of good code review

    Code review is important for shared ownership and ensuring the big picture is considered. Good code review involves clear descriptions, thorough understanding of the code, reviewing tests, constructive commenting, and withholding approval until full understanding is achieved.

  2. 2
    Article
    Avatar of atomicobjectAtomic Spin·2y

    Nobody Cares About Your Git History

    This post discusses the topic of Git history and explores the pros and cons of curating a clean commit history. It highlights the benefits and drawbacks of rebasing and emphasizes the importance of understanding diverse workflows and respecting team preferences. The post concludes by questioning the ultimate purpose of Git and advocating for a practical approach to managing commit history.

  3. 3
    Article
    Avatar of itnextITNEXT·2y

    Using pre-commit hooks makes software development life easier

    Pre-commit hooks in git can help improve code quality by allowing the execution of scripts before committing changes. These scripts can include linters and formatters to ensure code consistency, and other scripts to address specific needs. Installing the pre-commit package and configuring the pre-commit hooks can make the process more maintainable.