When I was 12 I would randomly install funny plugins on the family iMac so like the error sound was nelson from the simpsons going ha-ha and whenever you booted it up on Thursday it would play a "I never could get the hang of Thursdays" clip from the hitchhiker's guide radio show at max volume and scare the fuck out of everyone
Correction on phrasing: Maybe you'd think they know something you don't and you implement exactly that.
Writing is hard and my brain inverted actors in this. I think the point gets across, but correction nonetheless.
I don't have a good way around this except to just try to always be helpful without assuming someone knows everything you do. That's not easy, it's frankly frustrating because you can end up explaining things you didn't know you thought were obvious. It's easy to convince yourself over time that there's some minimum level of knowledge everyone must have, but it'll never be true. If you're tired or burnt out, it can be even more exhausting. Still, better to try to be aware of all this than not.
Another thing I want to make a point of: programming is full of things that are unintuitive, non-obvious, and hard. Combine that with weird power dynamics that many aren't even thinking about and you can also get cases like this. If a more senior programmer handed you `rand() -> 4.` and you're not entirely familiar with what's going on, are you going to disagree with them? Maybe they'd think you know something they don't and implement exactly that.
Actually fixing this wasn't very interesting, by the way. It stood out in the code after we dug through it. It only showed up much later, which was the unfortunate thing. I forget why code review didn't catch it on the team that wrote it, but we were pretty much in crunch the entire time. It's very likely that things got glossed over, or reviews were skipped entirely.
Code gremlin. Cursed.
I generally keep to myself, except for when my lack of energy wraps around and I briefly want to ramble about virtual machines or something.
The bird in the header photo is Qwerty, a blue-headed pionus. He likes to chill on the back of my chair most of the time.
Anyone is welcome to follow / unfollow as they like, I make no promises on the quality of whatever I write.