Here are 3 ways you can write cleaner code using common methods you can see online. 🧑💻 Writing Cleaner Code will make help you maximize productivity and readability of your code when you decide to go back into it at a later point. Let me know what tips you guys use in the comments.
—-
💬 JOIN MY DISCORD
https://discord.com/invite/bY6N9z26et
—-
CONNECT WITH ME ON SOCIAL
📸 Instagram:
https://www.instagram.com/lewismenelaws/
🎚 TikTok:
https://www.tiktok.com/@lewismenelaws
🐣 Twitter:
https://twitter.com/LewisMenelaws
—-
0:00 Intro
0:45 Comments and Naming Conventions
3:06 Guard Clauses
4:53 Single Responsibility Principle and Long Functions
3:50 Web3 & Metaverse
6:53 Outro & Discord Announcement
—-
🎵 Music
Misha, Jussi Halme - Higher https://chll.to/a705fd1d
—-
⛓️ Links in Video
Free Code Camp - Article about comments: https://www.freecodecamp.org/news/code-comments-the-good-the-bad-and-the-ugly-be9cc65fbf83/
Ellen Spertus on code comments best practices - https://stackoverflow.blog/2021/12/23/best-practices-for-writing-code-comments/
DevIQ - Guard Clauses - https://deviq.com/design-patterns/guard-clause
Single Responsibility Principle - https://en.wikipedia.org/wiki/Single-responsibility_principle