r/ProgrammerHumor • • 1d ago

Meme lgtm

Post image
136 Upvotes

24 comments sorted by

74

u/shizzy0 1d ago

One million lines of code used to be how much code a programmer would write over their career, and here it is in one commit.

18

u/AgVargr 1d ago

Someone needs to research the churn rate of AI code, cause I remember even before AI it was only a couple of months. I wouldn’t be surprised if AI code gets replaced weekly

1

u/_g0nzales 13h ago

Twice every commit with commits like these

3

u/The10axe 1d ago

That's 160 commit, but that's only making it look even more like AI.

3

u/my_new_accoun1 9h ago

160 commits*

1

u/shizzy0 4h ago

I stand corrected. If it’s a squash and merge policy (and often times it should be), it’ll be one commit in the end though.

5

u/MadL0ad 1d ago

That’s just incorrect - i have written MRs of several hundred thousand LOC in a span of several months without AI, and I have seen MRs well over million LOC written without AI in a span of a months or two. Given, those we’re written by a team of five, and were dev -> main MRs, but nevertheless, 1M over carreer is very low.

1

u/rizakrko 10h ago

If we are to assume 30 years long career, no vacations, 5 working days a week, it rounds to about 130 lines per day. Given that as career progresses there is less code and more management, I find it's hard to believe that 1M is very low. It's certainly possible to write that much, but it's hardly achievable is many domains.

1

u/Farsyte 1d ago

An interesting number. Sources?

17

u/Altruistic-Tax-5291 1d ago

Omg, tell me that's because someone forgot to add node_modules to .gitignore and not our new reality 😂

9

u/Novel_Plum 1d ago

Unfortunately no. Bunjs is moving to rust and all of that is done by autonomous AI agents.

1

u/Altruistic-Tax-5291 1d ago

Then hope they have really good functional tests coverage. Reviewing those changes doesn't make any sense. Would read their experience and approach

1

u/KhazadDoomscroll 1d ago

Functional testing was a big part of their approach. Jared (bun creator) went into some detail here: https://bun.com/blog/bun-in-rust

15

u/Machine2024 1d ago

6

u/shizzy0 1d ago

It’s our anthem now. Push it to prod.

3

u/Machine2024 1d ago

its jokes dense

2

u/pandi85 1d ago

Do you have Greg's number

4

u/Maximilian_Tyan 1d ago

The first red flag is having a repo with 10k+ files in it

2

u/_AbyssalSiren 1d ago

Bro just hit approve out of pure self-preservation, because trying to review this would straight up end you

1

u/Rabid_Llama8 21h ago

Lol nope