About 51 results
Open links in new tab
  1. coding style - Is it bad practice to leave commented-out code in ...

    Sep 8, 2010 · I regularly see production code from developers (large companies and individuals) that contains code that has been commented out. Presumably this removes earlier attempts at achieving …

  2. Is commented out code really always bad? [duplicate]

    Practically every text on code quality I've read agrees that commented out code is a bad thing. The usual example is that someone changed a line of code and left the old line there as a comment,

  3. Checking in of "commented out" code - Stack Overflow

    To clarify in response to comments to other answers, if code is commented out and checked in, my expectation that the code will function if uncommented drops with the length of time the code has …

  4. Is there a method for differentiating informative comments from ...

    Jul 5, 2019 · I never commit commented code without additional explanatory comments. There are rare situations where you might want the code back in the near term, but every single one of those is …

  5. Distinguish commented code vs valid comments - Stack Overflow

    Jan 10, 2019 · Distinguish commented code vs valid comments [closed] Asked 6 years, 10 months ago Modified 5 years, 4 months ago Viewed 591 times

  6. Terminology for the opposite of commented out - Stack Overflow

    Feb 7, 2013 · When a piece of code is commented we say just that, it's "commented out". But when it's not commented out, what is that? Uncommented isn't quite the same. Active? It's definitely not …

  7. Can commented-out code be valuable documentation?

    Mar 13, 2013 · Commented-out code is not used by the application, so it needs to be accompanied by further comments stating why it is not being used. But within that context, there are situations where …

  8. How can I comment multiple lines in Visual Studio Code?

    I cannot find a way to comment and uncomment multiple lines of code in Visual Studio Code. Is it possible to comment and uncomment multiple lines in Visual Studio Code using some shortcut? If …

  9. How to quickly Comment and uncomment a code? - Stack Overflow

    Apr 3, 2019 · If you are using visual studio as your IDE you can use the following: Ctrl+K+C to commment and Ctrl+K+U to uncomment. If using pycharm or VS Code: Use Cntrl+/ to comment and …

  10. Sonar Lint how to suppress issues on commented code only

    Mar 14, 2022 · Sonar Lint how to suppress issues on commented code only Asked 3 years, 10 months ago Modified 3 years, 10 months ago Viewed 2k times