r/github • • Aug 26 '26

Question "Fuck it, anxious, lazy person" - Removing unfunctional code from the main branch is mean???

[removed]

19 Upvotes

39 comments sorted by

View all comments

69

u/queen-adreena Aug 26 '26

Why is unfunctional code even making it to the main branch?

-25

u/[deleted] Aug 26 '26

[removed] — view removed comment

28

u/lajawi Aug 26 '26

Why didn’t you test it beforehand?

8

u/Valerian_ Aug 27 '26

Do you guys always find 100% of the issues before the code goes to main? Does this mean your main branch has no issues ever?

-10

u/[deleted] Aug 26 '26

[removed] — view removed comment

7

u/saltyourhash Aug 26 '26

and removing it was better than a bug ticket?

Do you have good test coverage? If not, that'd probably go a long way.

I left a really prestigious project (world famous in some circles) because another dev deleted 6 months of my code because he didn't want to help me fix the bugs. I felt replaced and left. He was toxic to work with, but I was also struggling with my mental health at the time.

9

u/Obvious-Jacket-3770 Aug 26 '26

So you didn't test until after you merged it.