Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dereknguyen269/programing-best-practices-in-2024

A curated list of awesome Programming Best Practices In 2024
https://github.com/dereknguyen269/programing-best-practices-in-2024

2024 best-practices code-style css-best-practices elixir-best-practices go-best-practices hacktoberfest html-best-practices java-best-practices javascript-best-practices kotlin-best-practices laravel-best-practices ruby-best-practices rust-best-practices swift-best-practices treding trend

Last synced: about 2 months ago
JSON representation

A curated list of awesome Programming Best Practices In 2024

Awesome Lists containing this project

README

        

Programing Best Practices In 2024



Awesome Badge
Star Badge
GitHub issues
GitHub stars
Github license

The list below isn't meant to be exclusive, it's more so a collection of links that have helped me out along the way (and can hopefully help you). As you'll see, I've focused on Web Development such as: Ruby, Rails, Javascript. There is also a wealth of information on interview prep and applying to jobs.

With the list bellow, I hope I can help developers improve their skills and rise up in their career path.

**Status: In progress**

---

## Topics
### Backend

- **[C best practices](#c-best-practices)**
- **[C++ best practices](#c-plus-plus-best-practices)**
- **[Elixir Best Practices](#elixir-best-practices)**
- **[GO Best Practices](#go-best-practices)**
- **[Java Best Practices](#java-best-practices)**
- **[Laravel Best Practices](#laravel-best-practices)**
- **[Lua Best Practices](#lua-best-practices)**
- **[NodeJS Best Practices](#nodejs-best-practices)**
- **[Scala Best Practices](#scala-best-practices)**
- **[Objective-C Best Practices](#objective-c-best-practices)**
- **[PHP Best Practices](#php-best-practices)**
- **[Python best practices](#python-best-practices)**
- **[Perl best practices](#perl-best-practices)**
- **[Ruby Best Practices](#ruby-best-practices)**
- **[Rails Best Practices](#rails-best-practices)**
- **[Rust Best Practices](#rust-best-practices)**
- **[API Security Best Practices](#api-security-best-practices)**

### Frontend

- **[Angular Best Practices](#angular-best-practices)**
- **[CSS Best Practices](#css-best-practices)**
- **[HTML Best Practices](#html-best-practices)**
- **[JavaScript Best Practices](#javascript-best-practices)**
- **[SASS Best Practices](#sass-best-practices)**
- **[ReactJS Best Practices](#reactjs-best-practices)**
- **[ReactNative Best Practices](#reactnative-best-practices)**
- **[TypeScript best practices](#typescript-best-practices)**
- **[Vue best practices](#vue-best-practices)**
- **[Frontend Performance Best Practices](https://roadmap.sh/best-practices/frontend-performance)**
- **[Nextjs best practices](#nextjs-best-practices)**
- **[Nuxt Best Practices](#nuxt-best-practices)**

### Database

- **[SQL Best Practices](#sql-best-practices)**
- **[PostgreSQL Best Practices](#postgresql-best-practices)**
- **[MySQL Best Practices](#mysql-best-practices)**
- **[NoSQL Best Practices](#nosql-best-practices)**

### Tools

- **[AI Tools Best Practices](#ai-tools-best-practices)**

### Other
- **[Swift Best Practices](#swift-best-practices)**
- **[Flutter best practices](#flutter-best-practices)**
- **[Kotlin Best Practices](#kotlin-best-practices)**
- **[R best practices](#r-best-practices)**
- **[Code Review Best Practices](https://roadmap.sh/best-practices/code-review)**
- **[AWS Best Practices](https://roadmap.sh/best-practices/aws)**
- **[System Design 101](https://github.com/ByteByteGoHq/system-design-101#system-design-101) - @ByteByteGoHq**
- **[AI & Data Science Best Practices](#ai--data-science-best-practices)**
- **[Best practices using AI tools for developer](#best-practices-using-ai-tools-for-developer)**

## Start Here

Hello! I created this list and am constantly updating it with new resources, information, and news. If you want to stay updated on the newest trends, tutorials, and articles in the Web Development world, please feel free to submit a PR!

---

## AI Tools Best Practices

- [9 of the Best AI Tools for Software Developers in 2024](https://www.stepsize.com/blog/best-ai-tools-for-software-developers)
- [The best AI tools for developers in 2024](https://daily.dev/blog/the-best-ai-tools-for-developers-in-2024)

## HTML Best Practices

- [HTML Best Practices](https://github.com/hail2u/html-best-practices) - @hail2u

- [HTML5 (and Some CSS) Best Practice](https://www.codeproject.com/Tips/666578/HTML-and-Some-CSS-Best-Practice) - Paulo Augusto Kunzel

- [Frontend Guidelines](https://github.com/bendc/frontend-guidelines) - @bendc

- [Google HTML Style Guide](https://google.github.io/styleguide/htmlcssguide.html#HTML) - @google

---

## CSS Best Practices

- [Airbnb CSS / Sass Styleguide](https://github.com/airbnb/css) - @airbnb

- [Dropbox (S)CSS Style Guide](https://github.com/dropbox/css-style-guide) - @dropbox

- [CSS Coding Standards and Best Practices](https://github.com/stevekwan/best-practices/blob/master/css/best-practices.md) - @stevekwan

- [Google CSS Style Guide](https://google.github.io/styleguide/htmlcssguide.html#CSS) - @google

---

## SASS Best Practices

- [Sass Coding Guidelines](https://github.com/bigcommerce/sass-style-guide) - @bigcommerce

- [Sass-Guidlines](https://github.com/blackfalcon/Sass-Guidlines/blob/master/SASS-Guidelines.md) - @blackfalcon

- [Sass-lang Style Rule](https://sass-lang.com/documentation/style-rules)

---

## JavaScript Best Practices

- [Airbnb JavaScript Style Guide()](https://github.com/airbnb/javascript) - @airbnb

- [es6-cheatsheet](https://github.com/DrkSephy/es6-cheatsheet) - @DrkSephy

- [Common JavaScript "Gotchas"](https://github.com/stevekwan/best-practices/blob/master/javascript/gotchas.md) - @stevekwan

- [Pragmatic Standards: JavaScript Coding Standards and Best Practices](https://github.com/stevekwan/best-practices/blob/master/javascript/best-practices.md) - @stevekwan

- [JavaScript 规范](https://github.com/adamlu/javascript-style-guide) - @adamlu

- [Google JavaScript Style Guide](https://google.github.io/styleguide/jsguide.html) - @google

- [JavaScript The Right Way](https://jstherightway.org/) - @braziljs

- [MDN JavaScript guidelines](https://developer.mozilla.org/en-US/docs/MDN/Guidelines/Code_guidelines/JavaScript) - @mozilla

- [W3C JavaScript best practices](https://www.w3.org/wiki/JavaScript_best_practices) - @w3c

- [Clean-code-javascript](https://github.com/ryanmcdermott/clean-code-javascript) - @ryanmcdermott
---

## NodeJS Best Practices

- [Node.js Style Guide](https://github.com/felixge/node-style-guide) - @felixge

- [RisingStack Node.js Style Guide() {](https://github.com/RisingStack/node-style-guide) - @RisingStack

---

## ReactJS Best Practices

- [Advanced ReactJS Patterns](https://github.com/kentcdodds/advanced-react-patterns-v2) - @kentcdodds

- [React Interview Questions & Answers](https://github.com/sudheerj/reactjs-interview-questions) - @sudheerj

---

## Angular Best Practices

- [Angularjs style guide](https://github.com/mgechev/angularjs-style-guide) - @mgechev

- [Angular 2 Style Guide](https://github.com/mgechev/angular2-style-guide) - @mgechev

- [Angular.js: Advanced Design Patterns and Best Practices](https://github.com/trochette/Angular-Design-Patterns-Best-Practices) - @trochette

---

## ReactNative Best Practices

- [React-Native Guide](https://github.com/reactnativecn/react-native-guide) - @reactnativecn

---

## PHP Best Practices

- [PHP: The Right Way](https://github.com/codeguy/php-the-right-way) - @codeguy

- [PHP knowledge](https://github.com/php-earth/php-knowledge) - @php-earth

- [PHP Coding Standards](https://github.com/maxdmyers/php-style-guide) - @maxdmyers

---

## Ruby Best Practices

- [Ruby Style Guide](https://github.com/airbnb/ruby) - @airbnb

- [Ruby Tricks, Idiomatic Ruby, Refactorings and Best Practices](https://github.com/franzejr/best-ruby) - @franzejr

- [Best Practice Patterns in Ruby](https://github.com/avdi/sbpprb) - @avdi

- [Ruby Best Practices, by Gregory Brown](https://github.com/practicingruby/rbp-book) - @practicingruby

- [The Ruby Style Guide](https://github.com/bbatsov/ruby-style-guide) - @bbatsov

- [Shopify’s Ruby Style Guide ](https://github.com/Shopify/ruby-style-guide)

- [Airbnb's Ruby Style Guide](https://github.com/airbnb/ruby)

- [53 Ruby on Rails Interview Questions and Answers](https://medium.com/ruby-daily/53-ruby-on-rails-interview-questions-and-answers-eb99eed1aeb7)

- [Ruby Best Practices and Tips by Toptal Developers](https://www.toptal.com/ruby/tips-and-practices)

- [Ruby best practices beginners should know](https://deepsource.io/blog/ruby-dev-best-practices-for-beginners/)

- [The Ultimate Guide to Ruby Timeouts](https://github.com/ankane/the-ultimate-guide-to-ruby-timeouts) - @ankane

- [DESIGN PATTERNS in RUBY](https://refactoring.guru/design-patterns/ruby) - refactoring.guru

- [Best Practices for Writing Ruby](https://reintech.io/blog/best-practices-for-writing-ruby)

- [6 Ruby Best Practices Beginners Should Kno](https://www.codementor.io/ruby-on-rails/tutorial/6-ruby-best-practices-beginners-should-know)

---

## Rails Best Practices

- [The Rails Style Guide](https://github.com/bbatsov/rails-style-guide) - @bbatsov

- [rails_best_practices](https://github.com/flyerhzm/rails_best_practices) - @flyerhzm

- [The RSpec Style Guide](https://github.com/reachlocal/rspec-style-guide) - @reachlocal

- [Rspec Best Practices](https://github.com/abinoda/rspec-best-practices) - @abinoda

- [Rails Database Best Practices](https://blog.carbonfive.com/rails-database-best-practices/) - Christian Nelson

- [Active Record Query Optimization Tips](https://medium.com/@User3141592/active-record-query-performance-tips-a3c3947b968) - Steven Li

- [ActiveRecord: How to Speed Up Your SQL Queries](https://phrase.com/blog/posts/activerecord-speed-up-your-sql-queries/) - Stefan

- [53 Ruby on Rails Interview Questions and Answers](https://medium.com/ruby-daily/53-ruby-on-rails-interview-questions-and-answers-eb99eed1aeb7)

- [Arel](https://devhints.io/arel)

- [Production Rails](https://github.com/ankane/production_rails) - @ankane
- [Securing Sensitive Data in Rails](https://ankane.org/sensitive-data-rails) - @ankane
- [Toptal's Ruby on Rails best practices](https://www.toptal.com/ruby-on-rails/tips-and-practices)
---

## Laravel Best Practices

- [Laravel: The Right Way](https://github.com/laraveltherightway/laraveltherightway.github.io) - @laraveltherightway

- [Laravel: The Right Way (Best Practices)](https://github.com/uonick/laravel-best-practices) - @uonick

---

## Swift Best Practices

- [Swift Style Guide](https://github.com/eure/swift-style-guide) - @eure

- [Design Patterns implemented in Swift 3.0](https://github.com/ochococo/Design-Patterns-In-Swift) - @ochococo

- [Swift Style Guide](https://github.com/raywenderlich/swift-style-guide) - @raywenderlich

---

## Objective-C Best Practices

- [NYTimes Objective-C Style Guide](https://github.com/NYTimes/objective-c-style-guide) - @NYTimes

- [raywenderlich.com Objective-C style guide](https://github.com/raywenderlich/objective-c-style-guide) - @raywenderlich

- [Style guide & coding conventions for Objective-C projects](https://github.com/github/objective-c-style-guide) - @github

- [Code Style & Best Practise for Objective-C](https://github.com/wangshengjia/-Code-Style---Best-Practise-for-Objective-C) - @wangshengjia

---

## Java Best Practices

- [Java Best Practices](https://github.com/in28minutes/java-best-practices) - @in28minutes

- [Selenium-best-practices](https://github.com/previousdeveloper/Selenium-best-practices) - @previousdeveloper

- [raywenderlich.com Java Style Guide](https://github.com/raywenderlich/java-style-guide) - @raywenderlich

- [Java Best Practices Guide](https://howtodoinjava.com/java-best-practices/)

- [30 Java Programming Tips and Best Practices for Beginners](https://www.javacodegeeks.com/2015/06/java-programming-tips-best-practices-beginners.html)

---

## Kotlin Best Practices

- [Best practices in kotlin](https://github.com/JackyAndroid/kotlin-best-practices) - @JackyAndroid

- [kotlin-style-guide](https://github.com/yole/kotlin-style-guide) - @yole

- [raywenderlich.com Kotlin Style Guide (in progress)](https://github.com/raywenderlich/kotlin-style-guide) - @raywenderlich

---

## GO Best Practices
- [Uber Go Style Guide](https://github.com/uber-go/guide/blob/master/style.md) - @uber-go

- [Go Best Practices](https://github.com/mehrdadrad/GoBestPractices) - @mehrdadrad

- [Go Style Guide](https://github.com/AgtLucas/go-style-guide) - @AgtLucas

- [Golang tutorial series](https://golangbot.com/learn-golang-series/)

- [Golang cheat sheet by golang-dojo](https://products.golangdojo.com/golang-cheat-sheet-by-golang-dojo)

- [Soham Kamani - Golang](https://www.sohamkamani.com/golang/)

- [DESIGN PATTERNS in GO](https://refactoring.guru/design-patterns/go) - refactoring.guru

---

## Rust Best Practices

- [Rust Style Guide](https://github.com/ubsan/style/blob/master/guide.md) - @ubsan

- [Rust Design Patterns](https://rust-unofficial.github.io/patterns/)

- [DESIGN PATTERNS in RUST](https://refactoring.guru/design-patterns/rust) - refactoring.guru

---

## Elixir Best Practices

- [The Elixir Style Guide](https://github.com/christopheradams/elixir_style_guide) - @christopheradams

- [Elixir Style Guide](https://github.com/lexmag/elixir-style-guide) - @lexmag

- [Credo's Elixir Style Guide](https://github.com/rrrene/elixir-style-guide) - @rrrene

- [10 Killer Elixir Tips #1](https://medium.com/blackode/10-killer-elixir-tips-2a9be1bec9be)

- [10 Killer Elixir Tips #2](https://medium.com/blackode/10-killer-elixir-tips-2-c5f87f8a70c8)

- [10 Killer Elixir Tips #3](https://medium.com/blackode/10-killer-elixir-tips-3-5c196eaec376)

- [Elixir cheatsheet](https://devhints.io/elixir)

- [Elixir metaprogramming](https://devhints.io/elixir-metaprogramming)

---

## Scala Best Practices

- [Scala Best Practices](https://github.com/alexandru/scala-best-practices) - @alexandru

- [Databricks Scala Guide](https://github.com/databricks/scala-style-guide) - @databricks

---

## SQL Best Practices

- [SQL Style Guide](https://www.sqlstyle.guide)

- [Best practices for writing SQL queries](https://www.metabase.com/learn/sql-questions/sql-best-practices)

- [SQL Performance Explained by Markus Winand](https://use-the-index-luke.com/)

- [SQL Style Guide at GitLab](https://about.gitlab.com/handbook/business-technology/data-team/platform/sql-style-guide/)

---

## Typescript Best Practices

- [TypeScript Best Practices](https://github.com/BestCoderDotInfo/TypeScript-best-practices) - @BestCoderDotInfo

---

## Flutter Best Practices

- [Performance best practices](https://flutter.dev/docs/perf/rendering/best-practices)
- [Flutter: Best Practices and Tips](https://medium.com/flutter-community/flutter-best-practices-and-tips-7c2782c9ebb5) - Kinjal Dhamat
- [Flutter Development Best Practices](https://heartbeat.fritz.ai/flutter-development-best-practices-3e162765340a) - Derrick Mwiti

---

## Vue best practices

- [Tips & Best Practices](https://012.vuejs.org/guide/best-practices.html)
- [10 Good Practices for Building and Maintaining Large Vue.js Projects](https://www.telerik.com/blogs/10-good-practices-building-maintaining-large-vuejs-projects)
- [12 VueJS Best Practices for Pro Developers](https://learnvue.co/2020/01/12-vuejs-best-practices-for-pro-developers/)

---

## C Best Practices

- [C Programming Best Practices – Must know to become an Expert](https://data-flair.training/blogs/c-programming-best-practices/)
- [c-style](https://github.com/mcinglis/c-style) - @mcinglis

---

## Python best practices

- [Python Best Practices – The only guide to become Python Expert](https://data-flair.training/blogs/python-best-practices/)
- [The Best of the Best Practices (BOBP) Guide for Python](https://gist.github.com/sloria/7001839) - @sloria
- [Python Best Practices and Tips by Toptal Developers
](https://www.toptal.com/python/tips-and-practices)
- [Code Style](https://docs.python-guide.org/writing/style/)
- [11 Tips And Tricks To Write Better Python Code](https://www.python-engineer.com/posts/11-tips-to-write-better-python-code/)
- [Python tutorial: Best practices and common mistakes to avoid](https://jaxenter.com/python-tutorial-best-practices-145959.html)
- [DESIGN PATTERNS in PYTHON](https://refactoring.guru/design-patterns/python) - refactoring.guru

## C Plus Plus best practices

### C++

- [3 Coding Best Practices for C++](https://www.perforce.com/blog/qac/3-coding-best-practices-cpp#:~:text=Write%20Readable%20Code,Use%20consistent%20indentation.)
- [Collaborative Collection of C++ Best Practices](https://github.com/lefticus/cppbestpractices) - @lefticus
- [The C++ Core Guidelines](https://github.com/isocpp/CppCoreGuidelines) - @isocpp
- [C++ Best Practices](https://cppcon.org/cpp-best-practices/)
- [C++ Best Practices](https://github.com/puppetlabs/cppbestpractices) - @puppetlabs
- [Modern C++ best practices for exceptions and error handling](https://docs.microsoft.com/en-us/cpp/cpp/errors-and-exception-handling-modern-cpp?view=vs-2019) - microsoft
- [Top Ten Tips for Correct C++ Coding](https://www.informit.com/articles/article.aspx?p=1712962)

## R best practices

- [Beyond Basic R - Introduction and Best Practices](https://waterdata.usgs.gov/blog/intro-best-practices/)
- [R Code – Best practices](https://www.r-bloggers.com/r-code-best-practices/)
- [Best Practices for Writing R Code](https://swcarpentry.github.io/r-novice-inflammation/06-best-practices-R.html) - @swcarpentry
- [R CODING STYLE BEST PRACTICES](https://www.datanovia.com/en/blog/r-coding-style-best-practices/)
- [Good Practices in R Programming](https://stat.ethz.ch/Teaching/maechler/R/useR_2014/Maechler-2014-pr.pdf)

## Lua best practices

- [Lua Best Practices by Lua.org](https://www.lua.org/gems/sample.pdf)
- [Lua Style Guide](http://lua-users.org/wiki/LuaStyleGuide)

## Perl best practices

- [Effective Perl Programming: Idiomatic Perl](https://www.effectiveperlprogramming.com/)
- [Perl Style Guide by Perl.org](https://perldoc.perl.org/perlstyle)

## Postgresql best practices

- [PostgreSQL Performance Best Practices](https://www.adservio.fr/post/postgresql-performance-best-practices)
- [Best Practices for PostgreSQL Database](https://www.e2enetworks.com/blog/best-practices-for-postgresql-database)
- [Run ANALYZE. Run ANALYZE. Run ANALYZE](https://ottertune.com/blog/run-postgresql-analyze-to-fix-a-slowdow-in-db/)
- [Best Practices for Designing PostgreSQL Databases and How AppMaster Can Simplify the Process](https://appmaster.io/blog/best-practices-for-designing-postgresql-databases)

## NoSQL best practices

- [10 NoSQL Data Modeling Best Practices](https://climbtheladder.com/10-nosql-data-modeling-best-practices/)
- [MongoDB Schema Design Best Practices](https://www.mongodb.com/developer/products/mongodb/mongodb-schema-design-best-practices/)
- [11 MongoDB Security Features and Best Practices](https://satoricyber.com/mongodb-security/11-mongodb-security-features-and-best-practices/)

## Nextjs best practices

- [Best Practices for Building and Sustaining a Clean React/Next.js Project](https://blogs.perficient.com/2023/04/25/best-practices-for-building-and-sustaining-a-clean-react-next-js-project/)
- [10 Tips for Optimal Performance](https://www.fronttribe.com/stories/next-js-best-practices-10-tips-for-optimal-performance)
- [Best practices to increase the speed for Next.js apps](https://stackoverflow.blog/2022/12/20/best-practices-to-increase-the-speed-for-next-js-apps/)

## Nuxt Best Practices

- [10 Nuxt Best Practices](https://climbtheladder.com/10-nuxt-best-practices/)

## API Security Best Practices

- [API Security Best Practices by Roadmap.sh](https://roadmap.sh/best-practices/api-security)
- [API-Security-Checklist](https://github.com/shieldfy/API-Security-Checklist)

## AI & Data Science Best Practices

- [IBM Data Science - Best Practices](https://github.com/IBM/data-science-best-practices)
- [xenonstack's blog](https://www.xenonstack.com/blog/ai-best-practices)
- [Best practices for deep learning in Julia, inspired by fastai](https://github.com/FluxML/FastAI.jl)
- [ETL best practices with airflow, with examples](https://github.com/gtoonstra/etl-with-airflow)

## Best practices using AI tools for developer
- [Best Practices for Coding with AI in 2024](https://blog.codacy.com/best-practices-for-coding-with-ai)
- [AI Tools for Developers: 5 Types of Tools and How to Choose](https://swimm.io/learn/ai-tools-for-developers/ai-tools-for-developers-5-types-of-tools-and-how-to-choose)
- [The Do’s and Don’ts of Using AI in Software Development](https://www.kodeco.com/41989083-the-do-s-and-don-ts-of-using-ai-in-software-development)
- [10 best practices for securely developing with AI](https://snyk.io/blog/10-best-practices-for-securely-developing-with-ai/)
- [Work Smarter, Not Harder: AI Hacks to Maximize Your Productivity in 2024](https://www.smarttrick.org/post/work-smarter-not-harder-ai-hacks-to-maximize-your-productivity-in-2024)

# Contribute

Contributions are always welcome!
Please read the [contribution guidelines](contributing.md) first.

# License

[![CC0](https://licensebuttons.net/p/zero/1.0/88x31.png)](https://creativecommons.org/publicdomain/zero/1.0/)