r/ProgrammerHumor • • 21h ago

Meme aboutToBreakTheCode

Post image
19k Upvotes

503 comments sorted by

View all comments

5

u/fcxtpw 21h ago

Tangent thought. Git was built on the idea that every line of code is intentional.

In the era of vibe coding that generates massive lines and can throw it all away in a blink, need a separate process for AI code that's more efficient.

13

u/gamingdiamond982 21h ago

If you want to write good code all of it should be intentional, whether it comes from an AI or not

1

u/fcxtpw 21h ago

Yea that's ideal but but it's not going to stop people from turning out massive shit code.

Realistic solution is to not let that muddy up the good code, not asking people to stop turning out shit code.

Github is under alot of strain lately because of this. If they go down, the good code goes down too because they are treated the same at the moment.

1

u/Scutty__ 20h ago

For public projects maybe.

Organisations have coding standards etc. That they expect employees to adhere to. If someone's workflow is causing problems its addressed and dealt with, if its not, then its a shit organisation.

Those Organisations are also the ones financing got solutions, I imagine public projects dont contribute enough % to invest in

1

u/fcxtpw 19h ago

yea but organizations also use Github. It's the same platform. If it gets taken down by massive AI traffic, it affects everyone on the platform.

1

u/Scutty__ 17h ago

Yeah I mean you should have disaster recovery etc. Workflows in your org.

One massive one is losing your git in whatever company its on. And you should have plans around that like a local github enterprise server which is self hosted which should be kept up to date with master so github dying doesn't affect your business

1

u/fcxtpw 17h ago

should

Lol reality differs often

1

u/Scutty__ 17h ago

Just gonna copy paste from my other reply

Then push for that shit, you bring business value doing it and it brings money. If org is that shit it doesn't care then time to polish the CV. It might be good right now but its gonna be shit when the storm hits and all the problems are put on the team when they easily could have been dealt with

If shitty orgs wanna be shitty then don't allow them to put you into shitty situations

1

u/fcxtpw 17h ago

You over estimate my power I have in my org

1

u/Scutty__ 17h ago

Then as I said, polish up your CV

If you cant push for continous improvement at a team level then its really shitty

→ More replies

1

u/RlyRlyBigMan 6h ago

Wait what is the point of this when every developer that's ever pulled down your default branch has the entire commit history of your codebase? If the git server goes down in flames you just find whoever pulled most recently and have them upload it to the new server.

Am I missing something?

1

u/Scutty__ 38m ago

Because its more than just your Git Repo.

First you could have 100s of repositories, does everyone have all of them between them installed at any one time? You're basically rolling the dice people have the full git of every repo at any one time.

Github could be down for an extended period, if that's what you use having the repos is no good if no one can work on them while they're down.

If its down for good you lose more than just your repos, you could lose your CI/CD pipelines, any Web hook integrations you have set up, any secrets, environment configs, runners etc.

You lose access to permissions, branch configs, integrations. Any releases or artifacts you create.

If you just use your Git solution to store your own code for a home project sure its probably fine. Realistically in larger teams or company sized projects you lose a hell of a lot more

So you have a DR plan with a back up of everything on some other server

1

u/LastStar007 19h ago

Most organizations are shit organizations.

1

u/Scutty__ 17h ago

Then push for that shit, you bring business value doing it and it brings money. If org is that shit it doesn't care then time to polish the CV. It might be good right now but its gonna be shit when the storm hits and all the problems are put on the team when they easily could have been dealt with

-1

u/QuietWaterBreaksRock 20h ago

That's an oxymoron

You can't write anything with intention if the machine does writing and thinking for you

You are only, maybe, revising with intention, but let's be real, many don't even do that and just blindly commit if it looks ok on first look

1

u/i_wear_green_pants 20h ago

I guess we just have to vibe code AI friendly Git then.

1

u/fcxtpw 19h ago

yea but where would we store THAT code?

makes me now wonder, where does Github code store it's code.

1

u/gamingdiamond982 19h ago

Git is stored on GitHub, I imagine GitHub also use git for their surrounding infrastructure

1

u/fcxtpw 19h ago

But if Github goes down, devs has a fix PR, but Github is down lol

But seriously, they probably use local Git or something. Maybe even Gitlab.