57
submitted 3 days ago* (last edited 3 days ago) by crmsnbleyd@sopuli.xyz to c/programmingcirclejerk@programming.dev
all 24 comments
sorted by: hot top controversial new old
[-] EfreetSK@lemmy.world 19 points 3 days ago* (last edited 3 days ago)

From the comments:

I can't wrap my mind around 10 people pushing changes to main all the time. It feels like a merge-conflict-rollback-preventing nightmare to me.

That's ... literally what one of my colleagues is unironically advocating for over a decade. Despite us trying to explain to him that this might work for team of 2-3 people but is really a bad idea for team of 10+ developers, 5 or so testers, POs needing guarantee that they can deploy at any time and tools like Gitlab/Github. Thankfully we overruled him few years ago

[-] vzq@lemmy.world 14 points 3 days ago

This is obviously crazy talk, but so is keeping feature branches alive over extended periods of time. Depending on the development tempo of your project and the number of people involved, you should figure out a way to land things into main (in pieces if needed) within a few days.

[-] Landless2029@lemmy.world 3 points 2 days ago

Or never killing branches... I've been on projects with over 100 branches.

[-] tatann@lemm.ee 3 points 3 days ago

Feature flipping

[-] ulterno@programming.dev 1 points 2 days ago

I had created a feature branch before leaving my previous company, completed the feature and uploaded a build for testing, after which it was supposed to be merged.

Months passed and it has still been neither merged nor rejected.

[-] NostraDavid@programming.dev 4 points 2 days ago
[-] vzq@lemmy.world 6 points 2 days ago

Scary woke branch name triggered you? Need to get back to your safe space?

[-] NostraDavid@programming.dev 1 points 1 day ago

Nah, just annoyed that Microsoft, a massive corporation that has a tendency of fucking people over, is now fucking with me by changing the default.

Having git get the option to change the default from master to whatever you choose as a user is great! More options is more better. Having a massive corporation fuck with the defaults because (AFAIK) a single person made a complaint about it does not gel with me.

PS: How the fuck is main "scary woke"? Is this that "brainrot" I've heard about?

[-] FizzyOrange@programming.dev 7 points 2 days ago

I dunno about NostraDavid, but I don't object to main as a name. It's an obviously better name (let's be honest Git is terrible at naming). If it had been the name from the start it would have been fine.

The problems are a) changing the name was - and continues to be - a persistent minor pain, and b) it was changed for really really stupid reasons! Mainly the latter. It's painful when people are being idiots even if it doesn't directly affect you.

It's kind of like my objection to religion (at least Christianity in the UK). It's not really doing any harm, but it's just so stupid. (I don't blame Christians; I was raised one so I know first hand how it tricks you into belief.)

[-] NostraDavid@programming.dev 2 points 1 day ago

The problems are a) changing the name was - and continues to be - a persistent minor pain, and b) it was changed for really really stupid reasons!

Yeeeeees! Somebody gets it! I'll add to it that it's also a massive corporation that's been pushing it! A massive corporation that's known for "Embrace, extend, and extinguish" (EEE), because that's how they fucked over fair competition. I like parts of Microsoft, but I don't trust one bit of them.

[-] x00z@lemmy.world 6 points 3 days ago
[-] KickMeElmo@sopuli.xyz 6 points 3 days ago

That hurts my soul.

[-] onlinepersona@programming.dev 4 points 3 days ago* (last edited 3 days ago)

Any CVS and SVN lovers in chat? Those were the days, eh? Got and mercurial were a mistake. Bring back the good old days 😭😭😭

/s

Anti Commercial-AI license

[-] vzq@lemmy.world 5 points 2 days ago* (last edited 2 days ago)

Back during the master/main debate I proposed going back to “trunk”, but there were too few of us old farts to make it stick.

That said, I didn’t miss subversion and CVS even a bit. They were rough compared to modern source control. I did like both hg and bazaar better than git though.

[-] Jesus_666@lemmy.world 3 points 3 days ago

Real men use classic TFS. Real men then pursue a career in a different field so they don't have to use TFS anymore.

[-] NostraDavid@programming.dev 1 points 2 days ago

Sneakernet and floppies, just the way Carmack intended!

[-] FizzyOrange@programming.dev 1 points 3 days ago

What is even the motivation for this? How do you make PRs?

[-] crmsnbleyd@sopuli.xyz 8 points 3 days ago

That's the neat part: you don't

[-] FizzyOrange@programming.dev 3 points 3 days ago

A joke presumably? Kind of hard to tell!

[-] onlinepersona@programming.dev 6 points 3 days ago* (last edited 3 days ago)

It's called "trunk based development". Look it up and watch videos about it. I swear they are stuck in the 90s yearning for CVS and SVN.

Anti Commercial-AI license

[-] brian@programming.dev 2 points 1 day ago

trunk based development generally still merges branches into a main one, see this. idk if only using main even has a name

[-] onlinepersona@programming.dev 2 points 1 day ago

Trust me, people still call it trunk based development. Just like "agile" has many forms, trunk based development does too.

Managers will often read about some process, tech, or strategy and tout it as the solution to their problems without understanding context nor wanting to invest in what's actually required for a successful implementation. For example trunk based development should have automated testing, a deployment and a fallback strategy. And if you're working on something with hefty features that you can't slice, feature flags or something similar are probably required. Not giving the team time to develop a strategy to implement that is a great way to mess up a product.

Anti Commercial-AI license

this post was submitted on 20 Feb 2025
57 points (100.0% liked)

ProgrammingCircleJerk

61 readers
6 users here now

Programming CircleJerkCommunity at request of a user.

founded 2 weeks ago
MODERATORS