Andromxda 🇺🇦🇵🇸🇹🇼

Mastodon @[email protected]
  • 2 Posts
  • 96 Comments
Joined 4 months ago
cake
Cake day: March 22nd, 2024

help-circle
  • I absolutely agree, and I too hate this stupid idea of “good code documenting itself” and “comments being unnecessary”.
    I have a theory where this comes from. It was probably some manager, who has never written a single line of code, who thought that comments were a waste of time, and employees should instead focus on writing code. By telling them that “good code documents itself”, they could also just put the blame on their employees.
    “Either you don’t need comments or your code sucks because it’s not self-documenting”
    Managers are dumb, and they will never realize that spending a bit of time on writing useful comments may later actually save countless hours, when the project is taken over by a different team, or the people who initially created it, don’t work at the company anymore.