by LugosFergus · 2w ago · 0 comments
Gamedev programming probably hit a low point for me when XBox One and WiiU came around. Those were some truly awful experiences.
I actually think git and the DVCS madness is a good example of complexity for the sake of complexity. Ending up in a detached head state through a seemingly normal series of commands, and then being able to continue working and have a very difficult resolution (compared to how you go there in the first place) that requires you to know how git works is a perfect example.
On the flip side, again in P4, you get latest and that’s it.
It’s just not possible to end up in that state with something like P4. My current company has >1000 people, most of whom are non-technical (artists, designers) pushing every day, and even when I worked at places with 30 people, the amount of time I spent training people on “click get latest revison, and double click to submit” was absolutely dwarfed by “I followed the git setup instructions but I can’t push my changes”
Or even: "Claude, push the PR and sync git"--it's more than happy to take that off your plate.
Git LFS is tacked on, Git's locking support is crap, the culture of git is not to build helper plugins like P4 so no one does it.
Distributing P4 to multiple offices is a pain in the ass and it really does need a lot of hardware to keep things going.
Maybe Epic's Lore will shake things up and we get the workflow in a nicer backend. Still, sane defaults and control is also something wanted so, to your points, Lore is not a DVCS
> Git’s issue is not that DVCS is bad. It’s just that P4 workflows work better for binaries
I think that git is a good DVCS, but that a DVCS is way overkill for most forms of software development. The complexity that is paid for that is paid by every single person who uses the tool. I don’t think it’s binaries, I think it’s the centralised workflow is just better for many/most teams. I can count on one hand the number of times I have worked with multiple remotes, or pulled from a teammate’s branch without going via a forge.
> Git LFS is tacked on, Git's locking support is crap, the culture of git is not to build helper plugins like P4 so no one does it
Could not agree more here.
> Distributing P4 to multiple offices is a pain in the ass and it really does need a lot of hardware to keep things going
Understatement of the decade! It’s an absolutely enormous, completely unfulfilling task. IIRC, we ran 3 edge servers and an extra pull through proxy at my last job for 100 people, and we spent about $6k/mo on the hardware alone on AWS.
Professionals should know how their tools work.
I am an app developer. Our front end is a C++ application (a game), our backend is a dotnet application. We also have an admin portal. A single feature, including deployment touches C#, C++, JavaScript, opentofu, AWS, windows, Linux (maybe macOS), docker, MySQL, redis, caddy, git, bash, plus all of the libraries and individual tools they call through too. Every single one of those has its own quirks and sharp edges. If I spent my working hours (40h) knowing each of those tools to a professional level, I wouldn’t have enough time to work on the app.
> few professionals know what ALL of the tools
> developers use (some or most)
> not all of them know
If you are a professional you need to know your tools, in any discipline. It does not matter what most or not all do. If you do not know your tools, you are not very professional.
You always have the ability to try out the simple version that ignores that reality:
* Don't branch
* Always force-push to master.
For WiiU, Nintendo used the Green Hills compiler. Their entire toolchain was simply clunky and unstable. You had to use this MULTI debugger which often didn’t work. My favorite line from their dev docs was “c++ not fully supported”. Well, that’s an issue since we used that extensively. It wasn’t even clear what actually wasn’t supported.
It was, but then it was just a version control system. Back then version control wasn't as 'intrusive' into the whole development workflow as git is today. You interacted with version control exactly twice a day: once in the morning to get the latest state, and once in the evening to commit the day's work.
For you young’uns, old source control used to work like that. To edit a file, you checked it out, no-one else was allowed to edit it until you’d finished.
I do need to inspect the other big names of contemporary version control tools. Maybe they are more suitable for small teams or individuals.