Skip to content
loading...

re: ✨ 5 damn easiest soft skills💡 needed to become a 10X🔥...Yes...10X🔥 Software Engineer ✔️ VIEW POST

TOP OF THREAD FULL DISCUSSION
re: The cleanest code still takes more cognitive energy to understand than plain natural language comments. I don't see the need to strive for less com...
 

If you need more cognitive energy to understand than it is not the cleanest code in my opinion. Comments are always longer and can quickly become obsolete. Nothing enforces them to stay up to date...if you forget it, it remains there unnoticed.

I disagree. In languages like C/C++ or Rust, how ever clean the code is you still can't comprehend easily the intention until you've read through a few lines into a function.

In Go, every exported function is expected to have an accompanying comment. That's considered good practice.

I think it depends on codebase. If its small then code can speak itself what it is intended for. But if it's larger codebase then there should be comments to briefly explain the intentions of programmer.

code of conduct - report abuse