loading...

re: 10 Concerns & How we can make the whole React codebase cleaner VIEW POST

TOP OF THREAD FULL DISCUSSION
re: For the comments tip you gave, I have to say that we in our team allow comments. But they should not explain what is done at a specific code block ...
 

Absolutely correct. 100% Agree with you. Comments are not a bad practice at all, but enforcing comments above every single function, variable declaration leads to bad code. We are also following comments for a business logic explanation so that other engineers can quickly get the context and understand the use case.

code of conduct - report abuse