Do THIS to Write Clean Code! | JavaScript Pro Tips (2021)

Channel:
Subscribers:
296,000
Published on ● Video Link: https://www.youtube.com/watch?v=ZI3q-_vjSZE



Category:
Tutorial
Duration: 26:13
31,472 views
2,136


🦸 Become A VS Code SuperHero Today: https://vsCodeHero.com
πŸ§‘πŸΎπŸ€πŸ§‘πŸ½ Join my Discord developer community: https://discord.gg/A9CnsVzzkZ

Do you want to write code like a pro? In this video, I'll give you some examples of code that works, but could be written better. Make sure you watch through all of the examples so that you can learn how to start writing clean, professional code.

Inspiration for this video came from this repo from Ryan McDermott:
Clean Code JavaScript - https://github.com/ryanmcdermott/clean-code-javascript

@JamesQQuick - Quokka.js VS Code Extension - https://youtu.be/yeZa4QsX38w
_____________________________________

🚒 Deploy for FREE on Vercel: https://vercel.com/ambassadors/codestackr
πŸ“š FREE 7-Day trial at Treehouse: https://treehouse.7eer.net/codeSTACKr
_____________________________________

πŸ› οΈ Tools I use:
🟠 codeSTACKr Theme: https://marketplace.visualstudio.com/items?itemName=codestackr.codestackr-theme
🟠 STACKr Code Font (Exclusive to my VS Code Course - https://vsCodeHero.com)
🟠 SuperHero Extension Pack: https://marketplace.visualstudio.com/items?itemName=codeSTACKr.superhero-extensions
_____________________________________

⏱️ Timestamps ⏱️
00:00 - Intro
00:35 - Declaring Variables
00:59 - Assigning Values
01:23 - Naming Variables
03:18 - Don't Rely on Developer Memory
03:55 - Unnecessary Context
04:34 - Destructuring
05:31 - Objects & Guard Clauses
07:39 - Default Arguments
08:54 - Conditional Shorthand
09:34 - Template Literals
11:19 - Write Linear Code
13:02 - Single Responsibility Principle
14:38 - Don't Use Flags
16:34 - Avoid Side Effects
18:41 - Spread Operator
19:46 - Optional Chaining
20:37 - Ternary Operator
22:02 - Default Values
23:04 - Swap Two Variables
23:59 - Arrow Functions
24:57 - String to Number
_____________________________________

πŸ’– Show support!
PayPal: https://paypal.me/codeSTACKr
_____________________________________

πŸ‘€ Watch Next:
Playlist: Web Development For Beginners - https://www.youtube.com/watch?v=Ez4yHS2dsN8&list=PLkwxH9e_vrAJ0WbEsFA9W3I1W-g_BTsbt
_____________________________________

🌐 Connect With Me:
Website: https://www.codestackr.com
Twitter: https://twitter.com/codeSTACKr
Instagram: https://instagram.com/codeSTACKr
Facebook: https://facebook.com/codeSTACKr
_____________________________________

** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.

#codeSTACKr #JavaScript #learntocode




Other Videos By codeSTACKr


2021-04-07Top VS Code Updates | v1.55 Released!! | Tips & Tricks 2021 (Visual Studio Code)
2021-04-03I QUIT My Job as an Engineer...
2021-03-26Don't Mess Up This Technical Interview Question | Use JavaScript Map() & Set() Objects
2021-03-23😒 STACKr News Canceled?? This Could Be The Last Issue (STACKr News 2021, Issue #11)
2021-03-1910 Things I Wish I Knew Before I Started Programming
2021-03-16[#10] Don't MISS These Amazing Web Dev Videos! (STACKr News 2021, Issue #10)
2021-03-12Top VS Code Updates | v1.54 Released!! | Tips & Tricks 2021 (Visual Studio Code)
2021-03-09[#9] 🀯 42 Amazing Web Dev Videos! #WomensHistoryMonth (STACKr News 2021, Issue #9)
2021-03-05Brackets is Dead | Switch to VS Code (Visual Studio Code Setup 2021)
2021-03-02[#8] Don't MISS These Amazing Web Dev Videos! (STACKr News 2021, Issue #8)
2021-02-26Do THIS to Write Clean Code! | JavaScript Pro Tips (2021)
2021-02-23[#7] Top Web Dev Videos You NEED to Watch! (STACKr News 2021, Issue #7)
2021-02-20Top VS Code Updates | v1.53 Released!! | Tips & Tricks 2021 (Visual Studio Code)
2021-02-18Node.js Crash Course for Beginners Tutorial - Learn Node Basics in 30 Minutes!
2021-02-16[#6] Top Web Dev Videos You NEED to Watch! (STACKr News 2021, Issue #6)
2021-02-12Build a DISCORD Slash Command BOT with Cloudflare Workers!! Deploy FREE!
2021-02-11Try THIS GitHub 1 Second Shortcut Trick | VS Code in Browser!! (github1s)
2021-02-09[#5] Top Web Dev Videos You NEED to Watch! (STACKr News 2021, Issue #5)
2021-02-05300+ FREE Developer Resources (2021) | Software & Web Development
2021-02-02[#4] Top Web Dev Videos You NEED to Watch! (STACKr News 2021, Issue #4)
2021-01-29TypeScript Crash Course 2021 | The Basics From Scratch!



Tags:
clean code js
clean code javascript
write clean code
how to write clean code
javascript
js
javascript tutorial
try javascript
code this not that
junior vs senior dev
noob vs pro code
beginner code
how to write better code
how to programmer better
clean code
how to write code
how to program better
senior developer vs junior developer
senior dev vs junior dev
junior dev mistakes
junior developer javascript
junior vs senior developer
Javascript clean code