Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Good naming convention in JS? - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
•
18 replies
Khoa
Good naming convention in JS?
I don
't write much JS soo this problem only come up recently
. My first idea is to have all of my function a
"verb
" like
getAllItems
getAllItems
or
closeTabById
closeTabById
. then for variable I would use
"noun
" like
itemCount
itemCount
. Are there any recommended rule for this
?
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Am I using the BAM naming convention correctly?
KP-C
Kevin Powell - Community / front-end
14mo ago
Writing code convention JS / React?
KP-C
Kevin Powell - Community / front-end
3y ago