--- 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.