How to Write Good Code Comments | Clean Code Tutorial

preview_player
Показать описание

No it's your turn to try out writing some good code comments, using the knowledge you learned in previous videos.

Your task is to:
1. Add an example legal requirement
2. Add a comment for the unreadable regex
3. Add a business logic example comment

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.

🔧 Play with this code on Scrimba:

💻 Check out Scrimba’s interactive learning platform:

🌲 Linktree:
Рекомендации по теме
Комментарии
Автор

Always use ISO 8601 when writing dates (YYYY-MM-DD) How you then say it, is up to you.

douglasb
Автор

I dunno, I'd hire you off this alone.

jscul