Coding Criteria: SOLID Principles

Essential coding criteria and best practices: SOLID principles, trunk-based development, TDD/BDD, clean code, PRPL pattern, and App Shell.

I just want to list critical coding topics. I will separate and write more content individually.

Trunk Based Development

  • A source-control branching model, where developers collaborate on code in a single branch called trunk, resist any pressure to create other long-lived development branches by employing documented techniques. They therefore avoid merge hell, do not break the build, and live happily ever after.

Design Principles

Clean Code Principles

TDD, BDD

Pair/Mob Programming, Code Review Sessions

Automated Testing

Scrum

Performance & Optimizations

  • Aggressive data caching and fast page navigation with service workers

PRPL pattern

  • Integration of the PRPL pattern (Push, Render, Pre-cache, and Lazy load)

  • Push (or preload) the most important resources.

  • Render the initial route as soon as possible.

  • Pre-cache remaining assets.

  • Lazy load other routes and non-critical assets.

App Shell

  • The illustration of the App Shell pattern to speed up repeat visits and show a maximally visually complete page

Thanks for reading! Reach out to me on Twitter if you have any questions or comments.

Get notified of new posts

I write about Go, platform engineering, and building products solo. No spam, just new posts.

Subscribe on Substack

Joseph Goksu, Senior Software & Platform Engineer. x.com/josephgoksu · linkedin.com/in/josephgoksu · josephgoksu.com