Re:Resolving the Great Undo-Redo Quandary
by tartoran on Friday November 11, 2022 @09:59AM
(#33561594)
Yes, but having thousands of snippets in a bucket can be quite confusing too, where do the pieces go back and so on.
For this reason I comment out code then keep it until Iām sure I no longer need it. This works in sessions, and do the final delete, clean up etc at the end of the session before committing the changes to the repo. I see devs keeping commented out code in repos but that adds too much noise, makes the code a real mess..
For this reason I comment out code then keep it until Iām sure I no longer need it. This works in sessions, and do the final delete, clean up etc at the end of the session before committing the changes to the repo. I see devs keeping commented out code in repos but that adds too much noise, makes the code a real mess..