© 2022 Hashnode
#naming
TL;DR: Names should be long enough. No longer. Problems Readability Cognitive Load Solutions Use names related to the MAPPER Context We used very short names during the 50s and 60s due to space…
Hi techies, if(namingConventionSeemLikeHell) console.log("Please, take a coffee and stay with me") Naming convention is a set of rules for choosing the character sequence to be used for identifiers wh…
What are naming conventions? Naming conventions, as the the name states, are rules that we use to name our variables, functions, classes, etc. They help us keep our names clean and consistent throughout our code. The most popular naming con…
Have you ever heard of naming? This is the name given to the process of creating names for brands or products. This week, however, I learned an important application of this concept in the context of …
Naming conventions in Javascript is always a topic of debate. Here's me trying to put my views in my perspective. Note: Conventions are the set the rules formulated and followed by every organisation…
Naming is very important in code. And I note my rule about naming. Don't use the functional name but use the name in real world Below code is example const userId = getUserId() const result = insertRecordA(userId) if(!result)…
Use entity domain names to model entity domain objects. TL;DR: Don't name your variables as Data. Problems Readability Bad Naming Solutions Use role suggesting names. Find names in the Bijecti…
On my recent quest of finding out optimized solutions to increase the development speed, I came across a solution to one of the biggest problems faced by almost every developers which is giving class …
Use professional and meaningful names TL;DR: Don't be informal or offensive Problems Readability Unprofessional work Solutions Choose good and professional names. Context Our profession has a …
How many times do we see lazy argument names? TL;DR: Name your arguments according to the role and not the accidental position Problems Readability Intention Revealing Names Solutions Use meani…