1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/use-comments-for-explaining-complex-logic.md
2022-02-21 16:15:07 +01:00

526 B

title tweet_id thread_slug author_username images created_at slug
Use comments for explaining complex logic 1495414946556903424 weekly-thread-2022-07 brendt_gd
https://pbs.twimg.com/media/FLsw0t6XwAIe5aI.jpg
2022-02-20T15:08:01+00:00 use-comments-for-explaining-complex-logic

Comments in code should be used with care. They should only be added when they add actual value to the programmer; which is why I style them in such a way that they "pop out", instead of them disappearing in the background.