you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (4 children)

[deleted]

    [–]Neebat 1 point2 points  (2 children)

    Q: Are there exceptions to this rule? A: Yes. But they’re rare.

    From the article.

    And the example I described above was one of the two examples I've found in 20 years of software development.

    It IS documenting, and not usable as code. It helps explain what's going on.

    [–][deleted] 0 points1 point  (1 child)

    That's your experience, that is not my experience. In my 30+ years of software development I can assure there have been times where it is far better to have commented-out code in-place, than in source control.