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

11 lines
No EOL
526 B
Markdown

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