filmov
tv
How to name variables and functions in JavaScript
Показать описание
In this video, senior developer Michael talks us through his advice on deciding names in a code base.
We look at how to decide a variable name, best practice for naming functions, and, perhaps most importantly of all, whether it is wrong to call a button 'btn'.
💻 Contents: 💻
00:40 - How to name a variable
03:28 - Variable names should scream intent
03:48 - When naming goes wrong
04:18 - How to name functions
04:50 - Casing on verb names
05:34 - is doDodoDonation() a good function name?
06:34 - Naming things intuitively
07:19 - When code naming goes wrong
09:11 - Is it wrong to call buttons ‘btn’?
📺 Full interview here:
💻 Check out Scrimba’s interactive learning platform:
🌲 Linktree:
Variable Naming Conventions
How to name variables and functions in JavaScript
Data management: How to label the values of categorical variables
4. How to label variable names, variable values and rename variables in STATA
How To Create Variables That Don't Suck - Writing Clean Java Code
Naming the Variables Right | Tanay Pratap Hindi
Master Figma Tokens & Variables: Ultimate Guide to Advanced Naming and Set Up
Variable Naming
7 - Variables and Data Types
Data management: How to label variables
Tokens, variables, and styles - Update: Introduction to design systems
Tips for naming variables and functions in programming | Javascript
Visual Studio Tip #1 - How to rename variables #Shorts
Javascript Tutorial for Beginners - Rules for naming variables
Stata: Renaming and Labeling Variables
Introduction to Variables
The Rules of Naming Variables in Python
Spacing - Analyzing The Top Design Systems (Figma Spacing Variables)
Learn CSS Variables In 7 Minutes
Java Naming Conventions for Packages, Classes, Interfaces, Methods, Variables and Constants
How to rename, and label variables in stata
One Rule to Name Methods/Variables Clearly
5/6 OOP & Classes in Python: Private Variables and Name Mangling
C_08 Variables in C Programming | C Programming Tutorials
Комментарии