Code Like A Chef
A software developer draws parallels between keeping a clean kitchen bench in cooking and maintaining a tidy codebase and workstation for better productivity.
Gio Lodi is a software developer and author writing about Test-Driven Development, Swift, automation, and developer productivity. He is the author of Test-Driven Development in Swift with SwiftUI and Combine.
179 articles from this blog
A software developer draws parallels between keeping a clean kitchen bench in cooking and maintaining a tidy codebase and workstation for better productivity.
A software developer explains why reducing constant audio input from podcasts and audiobooks is crucial for focus, deep thinking, and better retention of information.
A guide to writing better unit tests for delegate patterns in Swift/iOS, focusing on behavior over implementation for maintainable test suites.
Extracts three key software development principles—discipline, focus, and attention to detail—from the success of the New England Patriots football team.
Applying digital minimalism principles to software development to reduce clutter, optimize code, and improve maintainability.
Argues that code coverage is a flawed metric for software quality, comparing it to IQ tests, and demonstrates its limitations with examples.
A software developer argues that writing less code is a key skill for creating maintainable, efficient systems and solving problems effectively.
A step-by-step guide to practicing Test Driven Development (TDD) in Swift, using a pizza menu app as a practical example.
Explains the different types of test doubles (dummies, fakes, stubs, spies) in Swift for unit testing, with code examples.
A guide on using terminal aliases to drastically improve speed and productivity for software developers.
A guide to improving Swift code maintainability and testability by separating decision logic from action logic using the type system.
A guide to removing code duplication in Swift unit tests by creating reusable helper functions, improving test suite maintainability.
Applying Stephen King's writing advice from 'On Writing' to software development, focusing on reading code and deliberate practice.
A guide to productivity fundamentals, covering mindset, essentialism, the GTD system, and deep work strategies for tech professionals.
A guide on how using code snippets in your IDE or text editor can significantly boost a developer's productivity by automating repetitive typing tasks.
Explains how to use test fixtures in Swift to simplify unit test setup, making code cleaner and more focused.
A developer argues for using the terminal over GUIs for efficiency, customization, and the compounding benefits of aliases and scripts.
Explores how software developers can apply Leonardo da Vinci's principles of cross-disciplinary learning, hands-on practice, and collaboration to enhance their craft.
Explains the importance of the 'refactor' step in the Test-Driven Development (TDD) 'red, green, refactor' cycle for writing better code.
A Swift developer shares a better approach to naming protocols for testability, focusing on behavior over types.