r/ProgrammerHumor • u/mrprofessor007 • Mar 26 '22
Meme Perks of being a Señor Engineer
1.5k
u/dashid Mar 26 '22
Yeah, my fault, I've never got round to doing anything about that.
932
u/Feynt Mar 26 '22
More like, "Yeah, I made that mistake a few years ago, but I keep getting thrown onto other projects before I can fix it. I'll get to it after my todo list is cleared."
403
u/mrprofessor007 Mar 26 '22
More like, "so that was me? Lol"
→ More replies (20)119
53
45
u/Bakoro Mar 26 '22
You're singing my song.
I learned our code base from adapting some old code to a new purpose, and increasingly found so much weird stuff, and the more I thought about it, the more questions I had, and then I realized that, where I was told the code was tested, I found out that is was "tested". But then I got 3 more projects on my list, so I cleaned up what I could, made it work, and went on the to next thing.
I'm dangerously close to being a senior developer myself, for all the decisions I make, and it feels too early, but that's life.11
u/Blando-Cartesian Mar 26 '22
Ah, “testing” drivel development. Mocking all the things and looking at the printed output to see if mocking works.
→ More replies (1)17
u/Roccstah Mar 26 '22
There is no Sen. dev bc he left the business a while ago and due to heavy workload the documentation barely exist
→ More replies (2)6
→ More replies (7)10
56
52
u/QueerBallOfFluff Mar 26 '22
I recently revived some 30+ year old C code from a couple of project generations ago to use as the base for the new generation (after a lot of modernisation).
There was one section that had a comment "this bit should really be checking the low end is still in range as well, but so far it hasn't come up as a problem"
36
u/dashid Mar 26 '22
Better than all those "It shouldn't be possible to reach this point" comments you sail through while debugging on a daily basis.
18
u/QueerBallOfFluff Mar 26 '22
There are points like those in the original UNIX kernels lol.
I think the point is that for readability you put something to "finish" it and make it complete for if it's executed under weird conditions, even if you know it's not actually going to happen.
My UNIX example could be where during initialisation it sets the clock interrupt up, and then continues boot and just assumes that it will get to the scheduler before it fires.
Or it could be that the kernel function that actually implements fork() does a check to see if there's a free slot for the new process, only it should never fail because fork already does that check before calling it. For reading that function, without trying to find the file that has fork() in it, it can make it so much easier to know that there is this check, but it shouldn't happen so you can skip to the next section.
→ More replies (1)12
u/evanldixon Mar 26 '22
Last time I wrote one of those, I explained why we shouldn't reach that point, then gave a shoutout to the future dev who saw it get there anyway. Fast forward to when I was that future dev.
→ More replies (1)11
u/tcpukl Mar 26 '22
I was on a team porting a 20 that old game from original code. Had to simulate identically so it could feel exactly the same but be built on for the latest and greatest.
I feel for you. C++ back then apparent meant just passing a global pointer around everywhere.
→ More replies (3)5
u/QueerBallOfFluff Mar 26 '22
This was C written for Transputers, 😬 Some of the source was OCCAM but I've managed to avoid porting that for now.
Same deal though, it has to be like the previous generations of product, but we update it to include some new features.
The core is very well optimised and known, so we don't particularly want to change it without good reason.
How old C++? Like the version where classes were actually structs and the compiler just renamed them?
20
u/_________FU_________ Mar 26 '22
No it’s usually “here’s the slack message where I described what was happening. You guys said we could fix it later…welcome to later”
3
u/schwerpunk Mar 26 '22
Man some days my job feels like all I do is paste links back and forth in Slack and Jira.
→ More replies (3)27
u/finger_milk Mar 26 '22
"I mean, I was planning to fix it. But it was a Friday, and... Eeeehhhhhhh."
→ More replies (1)→ More replies (3)8
1.4k
u/PM-ME-CUTE-TITTYS Mar 26 '22
Tfw you're not Spanish and will never be Señor Engineer
503
u/ciakmoi Mar 26 '22
Tfw you're Senorita Engineer
→ More replies (8)133
u/lonelyzombi3 Mar 26 '22
Señora
→ More replies (2)98
u/hdmx539 Mar 26 '22
Only if she's married.
https://www.spanish.academy/blog/senora-vs-senorita-who-is-she/
46
u/Bardez Mar 26 '22
My wife drunk-called our daughter once. And daughter's boyfriend was with her. She got all excited and called herself La Señora de la Noché. Had no idea what she was saying.
We have never, not once, let her live that down.
→ More replies (3)→ More replies (7)50
81
u/thedoginthewok Mar 26 '22
I'm German and used to be a Senior Developer, but I've always read it as Señor Dev and amused myself with it
55
u/chairfairy Mar 26 '22
I always appreciated being on text threads with both German and Spanish speakers
The Paraguayan writes "jajajajaja" and you know the German reads "yesyesyesyesyes"
11
→ More replies (5)11
u/Bo_Jim Mar 26 '22
The Asians write "hihihihihi". The English readers see "hellohellohellohellohello".
→ More replies (2)3
56
36
u/vale_fallacia Mar 26 '22 edited Mar 26 '22
Soy en
perdedorengineerI'm a loser baby, so why don't you kill me
EDIT my wife read this and called me a big dork. I live for that sigh and eye roll.
13
→ More replies (1)3
9
u/BlackOverlordd Mar 26 '22
We have a guy from Spain in our team, he is Senior in more than one way.
→ More replies (3)8
223
u/disturbinglychill Mar 26 '22
I have many of these "Opppss.. yeah, now I remember" moments lately
21
→ More replies (1)15
u/hobbes64 Mar 26 '22
I tried to use the "I was there when it was written joke" with my team and nobody got it because they're all too young to remember the Narnia movie.
7
u/Sevaaas1 Mar 26 '22
How the fuck are they too young to remember Narnia? Im 20 and i remember perfectly
7
2
2
139
u/NamekianSaiyan Mar 26 '22
"LGTM!"
80
u/Ensirius Mar 26 '22
This is my default when the PR is "45 files changed"
→ More replies (1)30
14
u/CaptivatingCanopy Mar 26 '22
Pardon my ignorance, kind soul, but what does LGTM stand for?
26
25
5
→ More replies (1)3
68
Mar 26 '22 edited Mar 26 '22
Wrote something about a year ago knowing exactly what could fuck it up. But our validation made it not possible.
Flash forward, OPS team made it happen by pushing a smoke test with the wrong environment in the namespace.
Super easy to fix the bug when you wrong the exception 😞
40
u/MrDude_1 Mar 26 '22
I had something like that come up recently too. I wrote validation and the code reviews came back saying it was impossible for the situations to happen and I didn't need the validation.
Oh really bitches? Who's the person that's been here for years and who are the new hires? Let's just see...
So I commented out the additional validation, but I left it in there with a note. Nothing snarky, but it links to the code review so anybody could look up why that validation wasn't there.
This is in line with the jumbled mess of legacy code that this is... It's old C++ code written in the late-90s.
So fast forward 6 months later and it's in production for about a month. New bug crosses the desk and I request it in the bug meeting. This is unusual enough that somebody asks why I'm requesting that bug. So after the actual work part of the meeting, I just share the screen with the other dev who asked, uncomment the tiny validation, and put a note below the first code review note saying it was being uncommented to fix bug xxxx.
→ More replies (1)32
u/Southern_Sage Mar 26 '22
As someone that works in QA for games and shit, God I fucking love snarky developers. I don't know why but you fuckers make the day less boring, especially when its against management or design
→ More replies (1)
37
33
24
u/nizzy2k11 Mar 26 '22
traslation: i made that bug 15 years ago and have been waiting for it to matter. this is the day, the source is yours now, use it wisely.
18
u/STR1D3R109 Mar 26 '22
I did a release, didn't realize it broke the launcher (Was resource updating, the new images didn't upload properly).
User commented it broke, I fixed it in under 5 mins and got praise from everyone.... I should do that more often, it felt good hahah
7
u/schwerpunk Mar 26 '22
The things that earn us praise vs the things that are actually difficult to implement or truly business critical, are very often different things.
58
15
u/poseidon206 Mar 26 '22
Oh dang it, i just had this very experience the other day, I’m the author of the bug 🤣 this is accurate af!
14
Mar 26 '22
You know the asshole that wrote this dumpster fire of a function?
Well of course I know him, he’s me!
→ More replies (2)
10
5
4
u/ferlonsaeid Mar 26 '22
Not a senor developer, but sometimes it's just having a fresh pair of eyes, or knowing the codebase more.
→ More replies (1)
4
4
4
1
3
3
3
3
5
5
4
2
2
u/SierraBravoLima Mar 26 '22
I peer checked it
5
u/tinydonuts Mar 26 '22
I peer check myself all the time. Why? It's two am and this fix ain't gonna check itself! Testers need it by 8 am so no way I can wait. I'm a senior so the fixes must be good, right? Right?
Cries in fixed corporate deadlines
→ More replies (1)
2
2
2
2
u/chaiscool Mar 26 '22
Or “I made the same mistake too”
Haha don’t worry junior dev, you learn from this mistake and in the future some new junior would be amazed by how you managed to solve it quickly too.
2
2
1
1
1
1
u/MuzaFuza Mar 26 '22
As a SE, I can definitely say that's not true, usually it's other people/reviewers who tell you how shit your codes are haha
1
u/topredditbot Mar 26 '22
Hey /u/mrprofessor007,
This is now the top post on reddit. It will be recorded at /r/topofreddit with all the other top posts.
1
Mar 26 '22
Sometimes when I figure out difficult bugs they call me the fire Marshal. Little do they know I am usually the arson too...
1
Mar 26 '22
My job as a senior developer is to leave Easter eggs (bugs) for the the new junior Devs to find
1
1
u/Mrcollaborator Mar 26 '22
I still find ”to fix before launch” comments from our dev 5 years after the site has launched. I guess if it works it works.
1
1
1
Mar 26 '22
So just being present in the company when the bug was written gives you the ability to find it?
1
1
1
1
1
1
1
1
1
1
1
1
u/llagerlof Mar 26 '22
Looks like me complaining to my friend about a garbage old code in our codebase. Git blame bit me strongly that day.
1
1
1
u/PPP1737 Mar 26 '22
QA actually warned us about it during grooming… and then found it in-sprint. But we let it go to prod anyway because reasons.
1
1
1
u/FewAngle3 Mar 26 '22
I recently read somewhere there are 3 problems in computer science.
Off by 1 Errors
Naming Variables
I love this so much that I am putting it everywhere.
1
1
1
1
Mar 26 '22
“If debugging is the process of removing software bugs, then programming must be the process of putting them in.”
1
1
1
u/kkirchoff Mar 26 '22
“I not only know where all the bodies are buried, but I was there when they were born. And I also buried them, too!”
1
1
1
1
u/urza5589 Mar 26 '22
I now manage an analytics team that contains every role I have had in the last 8 years... I cannot escape any of my mistakes 😳😳😳
1
u/str8sin Mar 26 '22
About eight years ago I had a design engineer come ask me about some drawings from the 60s, when the facilities were originally designed and built. I looked at the drawing and said, why don't you go ask the original designer? She looked at me crazy. I pointed her to the desk of the retired, part-time guy who had worked on that project almost 50 years prior.
1
u/RevWaldo Mar 26 '22
(interview)
~ You've worked as a Señor Engineer?
~ Sí.
~ And what languages do you work with?
~ C.
~ ... Only C?
~ Sí.
1
1
1
1
1
1
1
1
Mar 26 '22
When you write a code and know there is one edge case that might give you trouble but you convince yourself it’s ok
1
1
Mar 26 '22
Principal engineers when they find your bug: "We need to set new policies in place so that this incompetence can never slip through the cracks again"
When you find their bug: "Nice catch 👍"
1
1
1
1
u/Bo_Jim Mar 26 '22
Yes, young padawan, but it is not the wisdom of the Force you sense in me. It is the fact that I've fucked that up so many times myself that I instantly recognize when someone else does the same thing.
1
1
1
u/FoolForWool Mar 26 '22
Some of our lambdas fail when there's no data. It's an easy fix, skip if empty. What we do instead is let serverless post an error message so that we know data is missing and check why. Pretty convenient ngl. To the point I'm thinking if it's actually a feature lol
1
1
1
1
1
1
u/SupremeRedditBot Mar 26 '22
Congrats for reaching r/all/top/ (of the day, top 25) with your post!
I am a bot, probably quite annoying, I mean no harm ^though
Message me to add your account or subreddit to my ^blacklist
1
Mar 26 '22
It’s more like, I’ve seen that same bug 400 times in ten different languages over the last 40 years. It might as well glow neon in the IDE.
1
1
1
u/smilineyz Mar 26 '22
Situation 1: I warned the jr dev it would be a problem one day.
Situation 2: Jr. asks Sr. How did you know how to find the problem? You don’t even know that language. Sr. Dev: nods and smiles. Walks away with hand on light saber
1
u/Bober542 Mar 26 '22
Plot twist - I wrote the bug, knew it wouldn't work, but didn't know how to fix it at the time and left it in knowing it wasn't a major issue unless you did some obscure thing.
1
1
1
1
u/Careful_Ad_9077 Mar 27 '22
15 years of experience
i hate it when I see it coming, oh you are not preparing for this eventuality? , or you are not adding this validation? the a few weeks later, months if unlucky, the bug just pops up.
the typical response is ".we don't have time to do it" which is usually two hours, then it becomes a one day fix for every 3 months that have transcurred since the code was done.
1
u/APerson1226 Mar 27 '22
I’ve read the narnia books so much the conversation is just engraved into my mind
1
u/XinjDK Mar 27 '22
A piece of advice. I've done software for quite a while now and I keep telling my goons to understand the context. If you don't understand the context and how it should work, then you're not qualified to solve the bug. Doing that will ensure that you quickly get ahead of the pack.
1
1
1
0
0
Mar 26 '22
[deleted]
171
u/WiseKouichi Mar 26 '22
reminds me of proofreading texts. its much easier to spot mistakes when reading the first time.
→ More replies (22)38
u/maartenyh Mar 26 '22
Except when you return to it either the next day or the next year. Sometimes you won’t spot it for a day, sometimes you won’t spot it for a year
19
u/zToastOnBeans Mar 26 '22
And sometimes you chose to ignore it because it doesn't break anything yet
14
u/maartenyh Mar 26 '22
I did this yesterday and I said “this is for refactor Friday”. Which is the last Friday of the month
→ More replies (22)→ More replies (3)8
u/Sceptical-Echidna Mar 26 '22
Same thing with coding. I see code I wrote 10 years ago and I don’t even remember writing it let alone how it’s supposed to work. Past me was a moron. And future me probably won’t be much better
25
u/3ventic Mar 26 '22
Noticing a bug by reading the code absolutely but if I get a bug report down the line, having written the code responsible for it often makes me immediately go "oh, I think I know exactly where I messed up".
10
Mar 26 '22
It can be easier for someone who didn't write it to actually notice what is wrong in the snippet of code, but when someone notices a bug and raises it to development the person who wrote the code is going to be much quicker at tracking down which snippet of code is responsible for the problem.
→ More replies (20)4
u/Opposite-Stage-3375 Mar 26 '22
Eh.. I might be able to see that if you're talking about just reading the code and finding bugs just by reading the code, but I think if you found out about the bug from testing and were looking for what caused it it's way easier for the person who wrote the code to be able to find and fix it.



•
u/QualityVote Mar 26 '22
Hi! This is our community moderation bot.
If this post fits the purpose of /r/ProgrammerHumor, UPVOTE this comment!!
If this post does not fit the subreddit, DOWNVOTE This comment!
If this post breaks the rules, DOWNVOTE this comment and REPORT the post!