all AI news
Naming Conventions
DEV Community dev.to
Let's embark on a journey to explore where to employ conventions effectively:
➖ PascalCase 👉 Classes and Methods
➖ camelCase 👉 variable and function names
➖ snake_case 👉 file names and variable identifiers
➖ kebab-case 👉 HTML attributes and CSS classes
➖ UPPERCASE 👉 CONSTANTS and ENUMERATIONS
➖ UPPER_SNAKE_CASE 👉 CONSTANTS and ENVIRONMENT_VARIABLES
By understanding where each convention thrives, we empower ourselves to craft code that functions flawlessly and communicates with elegance and finesse.
I hope you found it helpful. …
beginners case convention css embark explore file function html journey programming understanding