Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
s0LA38919dMaybe your Junior Dev is like the past me; explain him that source control exists so there is no need to commenting out code.
Just explain him that and he won't proceed on doing it, i guess.
Fast-Nop2220818dThe only time when I leave commented code in is when I have an understandable base algorithm and then derive a hard to read but optimised version that gives the same results.
Especially if the optimised version is using compiler specific hacks that other compilers might not compile, in which case I make both versions compile-time selectable via ifdef.
r2d27818dIm a junior and i just comment out code instead of deleting them. Im scared even though theres git. 😭😭
DoctorWhatIf3I once reviewed a Pull Request made by a fairly junior developer. They had joined recently, and this was one o...
Pizza5WHY DON'T YOU FUCKING READ THE CHANGES IN YOUR FUCKING PULL REQUEST??? If you did, you would realize that 50%...
abhishekb0Why would you submit a pull request with the addition of such a comment and expect me to approve? What the hel...