Clean Code: 3 Ways to Write Cleaner Code

Clean Code: 3 Ways to Write Cleaner Code

HomeCoding with LewisClean Code: 3 Ways to Write Cleaner Code
Clean Code: 3 Ways to Write Cleaner Code
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
Here are 3 ways you can write cleaner code using common methods you can find online. ‍ Writing cleaner code will help you maximize the productivity and readability of your code if you decide to come back to it at a later date. Let me know in the comments what tips you use.

—-

Join my Discord

https://discord.com/invite/bY6N9z26et

—-

CONNECT WITH ME ON SOCIAL MEDIA
Instagram:

https://www.instagram.com/lewismenelaws/

Tick Tock:

https://www.tiktok.com/@lewismenelaws

Twitter:

https://twitter.com/LewisMenelaws

—-

0:00 Introduction

0:45 Comments and naming conventions

3:06 Safeguard clauses

4:53 Single responsibility principle and long functions

3:50 Web3 and Metaverse

6:53 Outro & Discord announcement

—-

Music

Mischa, Jussi Halme – Higher https://chll.to/a705fd1d

—-

️ Links in the 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 best practices for code comments – https://stackoverflow.blog/2021/12/23/best-practices-for-writing-code-comments/

DevIQ – Guard Clauses – https://deviq.com/design-patterns/guard-clause

Principle of individual responsibility – https://en.wikipedia.org/wiki/Prinzip_der_Einzelverantwortung

Please take the opportunity to connect with your friends and family and share this video with them if you find it useful.