March 2023 Summaries
2 posts from Graphite
Filter
Month:
Year:
Post Summaries
Back to Blog
The text provides a comprehensive exploration of stacked pull requests (PRs) in software development, offering insights and strategies for effectively organizing and managing them. It emphasizes the importance of understanding a codebase's architecture and the interactions between its components, using examples like layered architecture to illustrate dependency management. The author discusses various models for splitting stacks, such as functional component-based stacks, iterative improvement stacks, and separating refactoring from bug fixes to enhance review clarity. Additionally, it highlights the benefits of isolating version bumps and generated code in separate PRs to minimize review distractions and suggests handling risky changes by creating distinct PRs within the stack to facilitate easy reversion if necessary. Key takeaways include stacking only related changes, merging frequently to catch integration issues early, and regularly restacking on the main branch to avoid conflicts, ultimately aiming to optimize the development process.
Mar 23, 2023
1,148 words in the original blog post.
Code review, a practice that significantly enhances code quality and prevents bugs, has evolved remarkably since its inception. Originating in the 1970s with IBM engineer Michael Fagan's concept of "Fagan Inspections," it initially involved meticulous, in-person code examinations. The 1990s introduced desk checks, where developers self-reviewed their work before others assessed it. The digital transition in the early 2000s marked a pivotal shift, with tools like Google's Mondrian and later GitHub revolutionizing the process by allowing global collaboration through web-based reviews. Mondrian, inspired by Gmail, focused on individual code changes, while GitHub emphasized open-source collaboration through repositories and pull requests. Today, code review systems are tailored for both open-source and closed-source environments, supporting diverse collaboration needs and marking a significant progression from their paper-based origins.
Mar 02, 2023
764 words in the original blog post.