ryanmcdermott / clean-code-javascript

:bathtub: Clean Code concepts adapted for JavaScript
MIT License
91.21k stars 12.23k forks source link

Contradict #422

Open jovenbarola opened 1 year ago

jovenbarola commented 1 year ago

Sorry, but it seems some rules here are contradict on what its currently your being practiced

Example of what I meant is "Don't leave commented out code in your codebase", the previous rule mentioned it needs to have comment if its business logic,

And also need to clear if this applicable to different language.. as i noticed some of your C++ code still use comments

Anyway Although this is 7years old repo, I think people need to atleast know contradict is, and this new issue ticket atleast help them know what to look and see to be consistent

BrianH824 commented 1 year ago

Don't comment out code does not mean don't write comments. Commented out code is code that was previously in use, that is no longer being used, and instead of being deleted has been prefixed with '//' (In JavaScript).