π Programming Best Practices
π Introduction
This repository is a curated collection of programming best practices across multiple languages, frameworks, and tools.
It is not an exhaustive list but rather a practical resource containing articles, guidelines, and style guides that have proven helpful in real-world development.
The focus is primarily on Web Development (Ruby, Rails, JavaScript, etc.), but it also covers databases, DevOps, cloud practices, AI tools, and career growth.
With this collection, I hope to support developers in writing cleaner, more maintainable code and growing in their careers.
Status: π§ Work in Progress β continuously updated
π Table of Contents
πΉ Backend Development
Systems Programming
Enterprise & JVM Languages
Web Backend
Functional & Specialized
πΉ Frontend Development
Core Technologies
Frameworks & Libraries
Performance
πΉ Database & Data
SQL Databases
NoSQL & Big Data
πΉ Mobile Development
πΉ DevOps & Infrastructure
Cloud & Deployment
Security
πΉ AI & Data Science
πΉ Development Tools & Practices
Version Control & Collaboration
Scripting & Automation
Performance & Architecture
πΉ Specialized Languages
πΉ Backend Development
Systems Programming
π₯οΈ C Best Practices
π₯οΈ C++ Best Practices
- 3 Coding Best Practices for C++
- Collaborative Collection of C++ Best Practices β @lefticus
- The C++ Core Guidelines β @isocpp
- C++ Best Practices (CppCon)
- C++ Best Practices by Puppet Labs β @puppetlabs
- Modern C++ Exception Handling β Microsoft
- Top Ten Tips for Correct C++ Coding
π¦ Rust Best Practices
- Rust Style Guide β @ubsan
- Rust Design Patterns
- Design Patterns in Rust β Refactoring.Guru
Enterprise & JVM Languages
β Java Best Practices
- Java Best Practices β @in28minutes
- Selenium Best Practices β @previousdeveloper
- Java Style Guide (Ray Wenderlich) β @raywenderlich
- Java Best Practices Guide
- 30 Java Programming Tips for Beginners
π Kotlin Best Practices
- Best Practices in Kotlin β @JackyAndroid
- Kotlin Style Guide β @yole
- Kotlin Style Guide (Ray Wenderlich) β @raywenderlich
π Scala Best Practices
- Scala Best Practices β @alexandru
- Databricks Scala Guide β @databricks
π₯οΈ C# Best Practices
Web Backend
π’ Node.js Best Practices
- Node.js Style Guide β @felixge
- RisingStack Node.js Style Guide β @RisingStack
π Python Best Practices
- Python Best Practices β Become an Expert
- Best of the Best Practices (BOBP) Guide β @sloria
- Python Best Practices (Toptal)
- Python Code Style Guide
- 11 Tips to Write Better Python Code
- Python Tutorial: Best Practices & Mistakes
- Design Patterns in Python β Refactoring.Guru
π Ruby Best Practices
- Ruby Style Guide β @airbnb
- Ruby Tricks & Best Practices β @franzejr
- Best Practice Patterns in Ruby β @avdi
- Ruby Best Practices (Gregory Brown) β @practicingruby
- The Ruby Style Guide β @bbatsov
- Shopify Ruby Style Guide β @Shopify
- 53 Ruby on Rails Interview Questions
- Ruby Best Practices (Toptal)
- Ruby Best Practices for Beginners
- Ruby Timeouts Guide β @ankane
- Design Patterns in Ruby β Refactoring.Guru
- Best Practices for Writing Ruby
- 6 Ruby Best Practices for Beginners
π Rails Best Practices
- Rails Style Guide β @bbatsov
- rails_best_practices β @flyerhzm
- RSpec Style Guide β @reachlocal
- RSpec Best Practices β @abinoda
- Rails Database Best Practices
- Active Record Query Optimization Tips
- ActiveRecord SQL Query Optimization
- Arel Cheatsheet
- Production Rails β @ankane
- Securing Sensitive Data in Rails β @ankane
- Toptal Rails Best Practices
π PHP Best Practices
- PHP: The Right Way β @codeguy
- PHP Knowledge β @php-earth
- PHP Coding Standards β @maxdmyers
π― Laravel Best Practices
- Laravel: The Right Way β @laraveltherightway
- Laravel Best Practices β @uonick
π£ NestJS Best Practices
Functional & Specialized
π§ͺ Elixir Best Practices
- The Elixir Style Guide β @christopheradams
- Elixir Style Guide β @lexmag
- Credo's Elixir Style Guide β @rrrene
- 10 Killer Elixir Tips #1
- 10 Killer Elixir Tips #2
- 10 Killer Elixir Tips #3
- Elixir Cheatsheet
- Elixir Metaprogramming Cheatsheet
πΉ Go (Golang) Best Practices
- Uber Go Style Guide β @uber-go
- Go Best Practices β @mehrdadrad
- Go Style Guide β @AgtLucas
- Golang Tutorial Series
- Golang Cheat Sheet (Golang Dojo)
- Soham Kamani β Golang
- Design Patterns in Go β Refactoring.Guru
π Swift Best Practices
- Swift Style Guide (Eure) β @eure
- Design Patterns in Swift β @ochococo
- Swift Style Guide (Ray Wenderlich) β @raywenderlich
π Objective-C Best Practices
- NYTimes Objective-C Style Guide β @NYTimes
- Objective-C Style Guide (Ray Wenderlich) β @raywenderlich
- GitHub Objective-C Style Guide β @github
- Code Style & Best Practices for Objective-C β @wangshengjia
πͺ Perl Best Practices
πͺΆ Lua Best Practices
π¨ Frontend Development
Core Technologies
π HTML Best Practices
- HTML Best Practices β @hail2u
- HTML5 (and Some CSS) Best Practice
- Frontend Guidelines β @bendc
- Google HTML Style Guide β @google
π¨ CSS Best Practices
- Airbnb CSS / Sass Styleguide β @airbnb
- Dropbox (S)CSS Style Guide β @dropbox
- CSS Coding Standards & Best Practices β @stevekwan
- Google CSS Style Guide β @google
π¨ SASS Best Practices
- Sass Coding Guidelines β @bigcommerce
- Sass-Guidelines β @blackfalcon
- Sass-lang Style Rules
π JavaScript Best Practices
- Airbnb JavaScript Style Guide β @airbnb
- ES6 Cheatsheet β @DrkSephy
- Common JavaScript "Gotchas" β @stevekwan
- Pragmatic JavaScript Standards β @stevekwan
- JavaScript θ§θ β @adamlu
- Google JavaScript Style Guide β @google
- JavaScript The Right Way β @braziljs
- MDN JavaScript Guidelines β @mozilla
- W3C JavaScript Best Practices β @w3c
- Clean Code JavaScript β @ryanmcdermott
π¦ TypeScript Best Practices
- TypeScript Best Practices β @BestCoderDotInfo
Frameworks & Libraries
βοΈ ReactJS Best Practices
- Advanced ReactJS Patterns β @kentcdodds
- React Interview Questions & Answers β @sudheerj
π± React Native Best Practices
- React Native Guide β @reactnativecn
πΌοΈ Vue Best Practices
- Tips & Best Practices (Vue 0.12)
- 10 Good Practices for Large Vue.js Projects
- 12 VueJS Best Practices for Pro Developers
π
°οΈ Angular Best Practices
- AngularJS Style Guide β @mgechev
- Angular 2 Style Guide β @mgechev
- Angular.js Advanced Design Patterns β @trochette
β‘ Next.js Best Practices
- Best Practices for Clean React/Next.js Projects
- 10 Tips for Optimal Next.js Performance
- Best Practices to Increase Next.js Speed
β‘ Nuxt Best Practices
Performance
π Frontend Performance Best Practices
- Frontend Performance Best Practices (Roadmap.sh)
- Web Vitals Best Practices (Google)
- High Performance Web Apps (MDN)
ποΈ Database & Data
SQL Databases
π SQL Best Practices
- SQL Style Guide
- Best Practices for Writing SQL Queries
- SQL Performance Explained (Markus Winand)
- GitLab SQL Style Guide
π PostgreSQL Best Practices
- PostgreSQL Performance Best Practices
- Best Practices for PostgreSQL Database
- Run ANALYZE, Run ANALYZE, Run ANALYZE
- Best Practices for Designing PostgreSQL Databases
π¬ MySQL Best Practices
NoSQL & Big Data
π¦ NoSQL Best Practices
- 10 NoSQL Data Modeling Best Practices
- MongoDB Schema Design Best Practices
- 11 MongoDB Security Features & Best Practices
π± Mobile Development
π± Flutter Best Practices
- Performance Best Practices
- Flutter: Best Practices and Tips β Kinjal Dhamat
- Flutter Development Best Practices β Derrick Mwiti
π― Dart Best Practices
- Dart & Flutter Best Practices
- Performance Best Practices
- Writing Clean Code in Dart: Best Practices & Design Patterns
βοΈ DevOps & Infrastructure
Cloud & Deployment
βοΈ AWS Best Practices
π¦ Microservices & Cloud-Native Best Practices
- 12 Factors for Building Cloud-Native Apps
- Microservices Best Practices (Microsoft)
- Cloud-Native Patterns (CNCF)
Security
π API Security Best Practices
π DevSecOps & Security Best Practices
π€ AI & Data Science
π€ AI/ML Engineering Best Practices
- MLOps Best Practices (Google Cloud)
- Responsible AI Practices (Google)
- Best Practices for LLM Applications
- IBM Data Science β Best Practices
- AI Best Practices (XenonStack Blog)
- Best Practices for Deep Learning in Julia (FastAI.jl)
- ETL Best Practices with Airflow
π€ AI Tools for Developers
- 9 of the Best AI Tools for Software Developers in 2024
- The Best AI Tools for Developers in 2024
- Awesome AI Tools β @mahseema
- Awesome AI-Powered Developer Tools β @jamesmurdza
- Best Practices for Coding with AI (2024)
- AI Tools for Developers: 5 Types of Tools & How to Choose
- The Do's and Don'ts of Using AI in Software Development
- 10 Best Practices for Secure AI Development
- AI Hacks to Maximize Productivity in 2024
π οΈ Development Tools & Practices
Version Control & Collaboration
π Code Review Best Practices
π§βπ€βπ§ Team & Collaboration Best Practices
Scripting & Automation
π Bash Script Best Practices
- Bash Best Practices
- progrium/bashstyle
- Best Practices for Bash Scripts
- Best Practices for Writing Bash Scripts
Performance & Architecture
ποΈ System Design Best Practices
- System Design 101 β @ByteByteGoHq
β‘ Performance & Scalability Best Practices
π Specialized Languages
π R Best Practices
- Beyond Basic R β Introduction & Best Practices
- R Code β Best Practices
- Best Practices for Writing R Code β @swcarpentry
- R Coding Style Best Practices
- Good Practices in R Programming (ETH ZΓΌrich)
π€ Contributing
Contributions are always welcome! π Before contributing, please read the Contribution Guidelines.
π License
This project is licensed under Creative Commons Zero v1.0 Universal (CC0 1.0) β Public Domain Dedication.