7 Tweets 1 reads Apr 18, 2023
These tips will help you write clean JavaScript:
1. Variables
β€” When writing variables, give them a name that makes sense. This is helpful when reading the code.
2. Vocabulary
β€”Using a similar vocabulary to make your names look persistent when writing variables and functions.
3. Functions
β€” Make your functions limited to performing only a single task, this will help you decide and write functions names.
4. Extra Context
β€” If something is clear and makes sense, don't try to make it extra clear by adding unneeded context.
You can get my free JavaScript e-book that has 100+ free resources.
πŸ”— haiderkh1.gumroad.com
That's a wrap!
If you enjoyed this thread:
1. Follow me @slow_developer for more of these
2. RT the tweet below to share this thread with your audience

Loading suggestions...