Committing commented out code is considered bad practice in version control, because version control offers better alternatives:
1) Use a feature branch for experimental features.
2) Delete what is not needed. You can always compare with history to see what used to be there.
Commented out code is considered clutter in a version control system.
Committing commented out code is considered bad practice in version control, because version control offers better alternatives: 1) Use a feature branch for experimental features. 2) Delete what is not needed. You can always compare with history to see what used to be there. Commented out code is considered clutter in a version control system.
https://github.com/MoizSamee/IS7024/blob/868ed3650931b32d6b10993ef9ef37636d6575ed/Covinator/Covinator/Pages/PfizerVaccination.cshtml.cs#L113