Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Write Clean Code

Scrimba via YouTube

Overview

Learn the fundamentals of writing clean code in this comprehensive one-hour course. Discover top tips from professional developer and coding YouTuber Dylan Israel to polish your code, making it more professional, readable, and less prone to bugs. Explore techniques to improve variables, functions, comments, and more. Gain valuable knowledge to enhance existing and future projects, ensuring your code is searchable, readable, and understandable. Cover topics such as clean variables, magic numbers, code organization, function naming and standardization, encapsulating conditionals, effective commenting, and refactoring. Complete challenges throughout the course to reinforce your learning and apply clean code principles in practice.

Syllabus

- What is clean code?
- What is a linter?
- Clean variables in JavaScript part 1
- Clean variables in JavaScript part 2
- Clean variables Challenge
- Clean variables & Clean Properties Challenge
- Clean variables: Magic Numbers
- Clean variables: Magic Numbers Challenge
- How to organize your code: spacing and returns
- Clean functions in JavaScript
- Clean functions: Limit parameters
- Clean functions: Naming & standardization
- Clean functions: Naming and standardization challenge
- Clean functions: Encapsulating conditionals
- Clean functions: Encapsulating conditionals challenge
- Good comments in JavaScript
- Avoiding comments with refactoring
- Avoiding comments with Git
- Clean comments: Avoid visual markers
- Clean comments: Avoid visual markers challenge
- What is a good comment in JavaScript?
- Good comments Challenge
- Clean code: Final challenge
- Clean code: What's next?

Taught by

Scrimba

Reviews

Start your review of How to Write Clean Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.