All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.squidjava.CommentedOutCodeLine.html Maven / Gradle / Ivy

There is a newer version: 5.1
Show newest version

Here are the main reasons why commented code is a code smell :

  • It always raises more questions than it gives answers
  • Everybody will forget very quickly how relevant the commented code is
  • This is distraction when going down the code as it stops the flow of eyes
  • It is a bad SCM engine : Subversion, CVS and Git are really more trustworthy !
  • The simple fact of understanding why code was commented out in the first place can take a lot of time




© 2015 - 2025 Weber Informatics LLC | Privacy Policy