Do you follow naming conventions?

Last updated by Luke Mao almost 3 years ago.See history

It's the most obvious - but naming conventions are so crucial to simpler code, it's crazy that people are so loose with them...

For Javascript / Typescript 

Google publishes a JavaScript style guide. For more guides, please refer to this link: Google JavaScript Style Guide

Here are some key points:

  • Use const or let – Not var
  • Use semicolons
  • Use arrow functions
  • Use template strings
  • Use uppercase constants
  • Use single quotes

See 13 Noteworthy Points from Google’s JavaScript Style Guide

For C# Java

See chapter 2: Meaningful Names Clean Code: A Handbook of Agile Software Craftsmanship

For SQL (see Rules to Better SQL Databases)

We open source. Powered by GitHub