This comic seems to be about bad programmers, so maybe they don't have version control 😬 When I'm working on something especially fiddly and I finally get the tests passing, I immediately make a git commit before even trying to clean it up. That way, I have a checkpoint I can return to if I accidentally break anything.
Don't you guys have version control systems?
This comic seems to be about bad programmers, so maybe they don't have version control 😬 When I'm working on something especially fiddly and I finally get the tests passing, I immediately make a git commit before even trying to clean it up. That way, I have a checkpoint I can return to if I accidentally break anything.
Instead of commit, i just stage them while I do clean ups. So that if I'm successful I stage the cleanup, else I remove the unstaged changes.
Through if you do local commit and amend it later it's not that different.
What is version control ?
I’m pretty sure you could make this comic apply to git too.