Re:Analog Chess – pieces are not constrained to a grid
by Aaronstotle on Friday January 13, 2023 @12:51PM
(#34371254)
That and "run the latest .py file because I can't be bothered to actually use version control" made me laugh
[ Parent
| on HN ]
Re:Analog Chess – pieces are not constrained to a grid
by doodpants on Friday January 13, 2023 @01:19PM
(#34371712)
This makes no sense to me. I mean, it's already on GitHub, which is a version control system. So he's doing more work by committing each version as a separate file, rather than making modifications in place?
Re:Analog Chess – pieces are not constrained to a grid
by jfoutz on Friday January 13, 2023 @01:37PM
(#34371973)
sometimes, especially when I'm trying to figure out something new, I like keeping the old exploratory code so I can grep through it or easily compare different approaches. It's less cognitive load than dealing with tags or branches or versions.
usually I end up with old/try1 old/try2 ... old/tryn
once I've worked out the way I really want to go, then I nuke old.
Re:Analog Chess – pieces are not constrained to a grid
by OkayPhysicist on Friday January 13, 2023 @02:00PM
(#34372297)
git checkout 0110deadbeef -- file.py > new_name_for_temp_file.py
Re:Analog Chess – pieces are not constrained to a grid
by quantaseed on Friday January 13, 2023 @01:26PM
(#34371816)
He probably bothered to learn "git add" "git commit -am" "git push" and nothing else.
Or maybe his CS friends helped put it on github.
Or maybe he's just to piss us off :)