this post was submitted on 14 Nov 2023
708 points (96.9% liked)

Programmer Humor

19623 readers
96 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

Move fast and break things.
Merge vulnerabilities.
Double the work.
Merge code without tests.
Anything, but don't let code become stale.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] GBU_28@lemm.ee 11 points 1 year ago (1 children)

Let the users do the testing

[–] ArmoredThirteen@lemmy.ml 9 points 1 year ago* (last edited 1 year ago) (1 children)

Oh hey a fellow game dev, how long you been in the industry?

[–] CeeBee@lemmy.world 4 points 1 year ago

They're a Windows dev, clearly.

[–] vrkr@programming.dev 10 points 1 year ago* (last edited 1 year ago)

Something like that happened to me yesterday. I reviewed one PR, then some Important Guy came in and said:

  • it is nice you reviewed my work, but we need to push this to production right now.
  • just fix these things, I described you how. Just copy/paste these snippets
  • these are cosmetics, I don't care
  • "cosmetics", huh? Your shit may just crash
  • gfy and push this to production right now
  • well, ok

Of course, lack of these "cosmetics" caused crash in production. It's my fault of course.

[–] MeanEYE@lemmy.world 9 points 1 year ago

Am not sure I disagree but I don't agree completely. It's insane to merge things that go to production without testing. However at the same time I don't like continuous integration one bit. Open source mantra is great in my opinion. Release early, release often. If code chews some important data, have a test version of it that needs to run some time before it gets pushed to production.

Delaying merge of someone's code means branches get further and further apart. At the same time code in main branch gets fixed and tested the most. I would merge often but only full features. None of the half-done stuff. Let humans test it a bit before it reaches target audience. That is usually good enough to catch most bugs. Those that do happen to leak into production are easily fixed since you have fast development cycle and deployment pipeline. And backup frequently.

[–] Locrin@lemmy.world 5 points 1 year ago

Does he work at Rivian?

[–] schnurrito@discuss.tchncs.de 5 points 1 year ago

I mean this is basically a wiki, isn't it.

[–] Diplomjodler@feddit.de 5 points 1 year ago (1 children)

Test it? Meh. Just ship it.

load more comments (1 replies)
[–] Deifyed@lemmy.ml 4 points 1 year ago (15 children)

I kind of with the sentiment. Review pre merge though, but only block the merge if there are serious faults. Otherwise, merge the code and have the author address issues after the merge. Get the value to production

[–] kautau@lemmy.world 3 points 1 year ago

This only works if the merge is being done to staging builds that are continuously tested by a QA team before they go to production, with carefully planned production milestone releases. I work for an emergency management SaaS company. If we just merged all lightly reviewed code into production without thorough QA testing, there’s the possibility that our software would fail in production. This could cause aircraft in major airports to crash into each other on the runway, or a university to respond poorly to a live shooter situation, or the deletion of customer data about COVID vaccine efforts, etc

load more comments (14 replies)
[–] SonnyVabitch@lemmy.world 4 points 1 year ago

Pete was Heard, but was he Listened To?

[–] ikidd@lemmy.world 4 points 1 year ago

The "send it" school of PRs.

[–] SVcross@lemmy.world 4 points 1 year ago

Didn't knew KenM was on LinkedIn.

[–] Space_Racer@lemm.ee 3 points 1 year ago

As a SOC auditor you programmers are going to make me scream at the exceptions you guys cause.

load more comments
view more: ‹ prev next ›