Do you follow naming conventions?

Updated by Matt Goldman [SSW] 9 months ago. See history

123
<introEmbed body={<> 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)

Acknowledgements

Adam Cogan
Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star