Re:Literate programming: Knuth is doing it wrong (2014)
by kragen on Monday January 13, 2025 @11:47AM
(#42685457)
Maybe you should be using `git stash` and `git stash pop` rather than commits. Or go back and squash your 30–50 commits into one or two, which might take ten minutes. What you're doing is better than not using version control at all, but only barely.
[ Parent
| on HN ]
Re:Literate programming: Knuth is doing it wrong (2014)
by hitchstory on Monday January 13, 2025 @11:50AM
(#42685492)
I do squash them where appropriate.
I do use git stash where appropriate.
These arent nonobvious novelties, save perhaps to junior engineers.
Re:Literate programming: Knuth is doing it wrong (2014)
by kragen on Monday January 13, 2025 @02:10PM
(#42687352)
Well, that is kind of what you sound like.
Re:Literate programming: Knuth is doing it wrong (2014)
by Supermancho on Monday January 13, 2025 @02:56PM
(#42688178)
> Well, that is kind of what you sound like.
This is what senior engineers do. Interrupted to switch tasks every 10 min. Make your good changes as a commit and move to the next task. Maybe you get back to it today, maybe not.
Re:Literate programming: Knuth is doing it wrong (2014)
by kragen on Wednesday January 15, 2025 @10:28AM
(#42711984)
That's definitely not how Jeff Dean and Sanjay Ghemawat wrote MapReduce and Bigtable. I'm sure what you're saying is correct at many companies (I've seen a few), but it's a stupid policy, depriving them of the benefit of having senior engineers.