A question: commented out code
Is removing commented out, unused code, a good cleanup patch? I'm wondering that maybe that code is there for a reason. I checked TODO files prior to removing that code to see if they provide a reason, but for the files I edited, they did not.
Thank you!
Quoted 4 lines · Lourdes Pedrajas
Is removing commented out, unused code, a good cleanup patch? I'm wondering that maybe that code is there for a reason. I checked TODO files prior to removing that code to see if they provide a reason, but for the files I edited, they did not.
The general principle is that it should go. The git history is always there, so the code is not lost forever. You can use your judgement, of course.
julia
Quoted 8 lines
Thank you!
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20200308224412.GA14124%40supernova.
Quoted 7 lines · Julia Lawall
Quoted 4 lines · Lourdes Pedrajas
Is removing commented out, unused code, a good cleanup patch? I'm wondering that maybe that code is there for a reason. I checked TODO files prior to removing that code to see if they provide a reason, but for the files I edited, they did not.
Quoted 6 lines
The general principle is that it should go. The git history is always there, so the code is not lost forever. You can use your judgement, of course.
julia
I agree, thank you Julia!