News for hackers. Stuff that matters.
Re:Analog Chess – pieces are not constrained to a grid by DangerousPie on Friday January 13, 2023 @07:55PM (#34376073)
You need a better ide!
Re:Analog Chess – pieces are not constrained to a grid by 8n4vidtmkvmk on Saturday January 14, 2023 @03:46AM (#34378525)
phpstorm has good history. vs code can die in a fire.
Re:Analog Chess – pieces are not constrained to a grid by Kiro on Saturday January 14, 2023 @09:57AM (#34380753)
What has VS Code done to you to deserve that?
Re:Analog Chess – pieces are not constrained to a grid by 8n4vidtmkvmk on Sunday January 15, 2023 @02:47PM (#34392558)
:-) I don't hate it that much, in fact, I use it a bit, but I still think it's inferior, but the fact that it's so popular means that a lot of extension developers are now targeting it and only it which forces me to use inferior tooling for some things. I already have this problem with Git. I think Mercurial is better but all the good tooling is built around Git.
Re:Analog Chess – pieces are not constrained to a grid by userbinator on Saturday January 14, 2023 @04:30AM (#34378760)
It's so cliche to recommend a more complex tool --- with its own associated learning curve and more complex failure modes --- when there's already a simple method that works perfectly well, but isn't "best practice" or whatever the dogmatists call it.

Can you run two or more versions and compare their behaviour simultaneously, even debug them side-by-side? I'm sure there's some sort of plugin and IDE ecosystem that you can spend tons of time learning how to configure just to be able to do that, but if all I need to do is to copy the files and rename them, why not?

Do some people really love excess complexity so much?

Re:Analog Chess – pieces are not constrained to a grid by JelteF on Saturday January 14, 2023 @04:43AM (#34378833)
I agree with the general gist if your post, but still wanted to call out the "git worktree" because that would solve the problem you're describing. It's pretty much a better version of cloning the repo twice.
Re:Analog Chess – pieces are not constrained to a grid by DangerousPie on Saturday January 14, 2023 @06:32AM (#34379443)
I guess it depends on your use case. If you have a basic tool where most of the functionality lives in a single file and which you need to compare to previous versions frequently, I can see how just having incrementing file names could be useful.

I would say that this is a bit of an exception though. Most projects are spread across many files and dependencies, so it would be a huge mess trying to manually version those by renaming files all the time. I also rarely want to compare several different versions of my code side by side, so I prefer having all of the old stuff 'hidden away' in git by default.