How to write clean code

Published: 17 May 2022
on channel: Scrimba
2,303
107

🎓 View our courses: https://scrimba.com/links/all-courses

Learning clean code is one of the best career investments you can make. By spending one hour to learn the fundamentals, you get to reap the benefits across all your future code bases. It's 10x the payoff for the effort.

In this course, professional developer and coding Youtuber Dylan Israel takes you through some top tips to help you polish your code, making it more professional, easier to read and understand, and less prone to bugs.

In just one hour, you’ll cover how to improve your variables, functions, comments, and more! By the end, you’ll have the knowledge to improve your existing and future projects and ensure that your code is as searchable, readable and understandable as possible.

✨ Contents: ✨

00:00 - What is clean code?
04:35 - What is a linter?
07:01 - Clean variables in JavaScript part 1
09:00 - Clean variables in JavaScript part 2
12:23 - Clean variables Challenge
16:06 - Clean variables & Clean Properties (Challenge)
18:02 - Clean variables: Magic Numbers 🧙
21:50 - Clean variables: Magic Numbers (Challenge) 🧙
23:43 - How to organize your code: spacing and returns
25:35 - Clean functions in JavaScript
26:43 - Clean functions: Limit parameters
28:19 - Clean functions: Naming & standardization
30:31 - Clean functions: Naming and standardization (challenge)
32:47 - Clean functions: Encapsulating conditionals
37:20 - Clean functions: Encapsulating conditionals (challenge)
39:48 - Good comments in JavaScript
43:47 - Avoiding comments with refactoring
47:20 - Avoiding comments with Git
48:53 - Clean comments: Avoid visual markers
51:30 - Clean comments: Avoid visual markers (challenge)
53:01 - What is a good comment in JavaScript?
53:00 - Good comments (Challenge)
58:32 - Clean code: Final challenge 🤺
01:00:56 - Clean code: What's next? 🤔

💫 Try this course on Scrimba
https://scrimba.com/learn/cleancode

💻 Check out Scrimba’s interactive learning platform:
https://scrimba.com/

🌲 Linktree:
https://scrimba.com/links/linktree

👾 Scrimba's Discord server
https://scrimba.com/discord


On this page of the site you can watch the video online How to write clean code with a duration of hours minute second in good quality, which was uploaded by the user Scrimba 17 May 2022, share the link with friends and acquaintances, this video has already been watched 2,303 times on youtube and it was liked by 107 viewers. Enjoy your viewing!