Tips for naming variables and functions in programming | Javascript

2 years ago
7

I've always found it difficult naming variables and functions in Javascript, Typescript, Haxe. In fact, in most programming languages. This cheatsheet I found on Github helped me get more clarification on how to do this, particularly when it comes to naming functions.

---
RESOURCES
https://github.com/kettanaito/naming-cheatsheet

---
TIMESTAMPTS
00:30 Introduction
00:44 English language
01:07 Naming convention
01:18 S-I-D
01:44 Avoid contradictions
02:00 The A/HC/LC pattern
03:05 Variable prefixes
03:21 Singular and plurals

---
MY LINKS
☕️ Buy me a Coffee ► https://ko-fi.com/richardoliverbray
🐦 Follow me on Twitter ► https://twitter.com/Ceiga
👾 Join my discord server ► https://discord.gg/zD8nsDeJ

Loading comments...