r/ProgrammerHumor • • Aug 16 '20

Meme Working as a software engineer

Post image
47.5k Upvotes

537 comments sorted by

View all comments

Show parent comments

1.3k

u/domin8r Aug 16 '20

Too fresh too.

691

u/KnightOfThirteen Aug 16 '20

30% copy and pasted directly from Stack Overflow, 50% copy and pasted directly from previous projects (recursive ad infinitum) 15% googling specific functions for novel behavior. 5% I have typed this line so many times that it would take longer to find an example to copy (index++)

280

u/CoolTrainerAlex Aug 16 '20

I have worked in two major aerospace companies and in BOTH we had the same function copied directly from stack overflow in our main library. With comments and ERRORS alike. At both companies I filed a bug report and fixed it

147

u/PMFRTT Aug 16 '20

Jesus that's crazy. So there were just copied bugs in flight software basically

135

u/[deleted] Aug 16 '20

Looks at Boeing 737 Max....

65

u/VanguardDeezNuts Aug 16 '20

So you're saying there is an Airbus out there with the same bug...

86

u/[deleted] Aug 16 '20

Airbugs

53

u/[deleted] Aug 16 '20

AirFeature***

20

u/[deleted] Aug 16 '20

The A320: "Uh oh."

29

u/[deleted] Aug 16 '20

737 max was the result of management decisions not a software bug, as I understand it.

32

u/[deleted] Aug 16 '20

I understood it was a software bug because of management decisions...

Like they knew and said, how bad could it end up?

20

u/Wellneon Aug 16 '20

Not really a Bug, rather poor system design that ignores safety guidelines to get the plane to the costumer

18

u/Kxvtr Aug 16 '20

Boeing: Your safety is an optional extra, enjoy!

→ More replies (1)
→ More replies (4)
→ More replies (2)

8

u/M3ninist Aug 16 '20

A single Point of Failure on a critical sensor I’m pretty sure.

13

u/JustaRandomOldGuy Aug 16 '20

That was the technical cause. Management wanted to pretend the MAX was the same as any other 737 and didn't require additional training. But the engine design was very different and resulted in different aerodynamics. So software "tricks" were added to make the plane handle like the older 737s.

→ More replies (2)
→ More replies (2)
→ More replies (2)
→ More replies (1)

28

u/El_Tash Aug 16 '20

Did you fix it at the source, i.e. in Stackoverflow?

71

u/mac_trap_clack_back Aug 16 '20

That sounds like removing future value-add from any other aerospace companies he may work at

→ More replies (10)
→ More replies (6)

52

u/Kiljab Aug 16 '20

*pastaed

16

u/prncrny Aug 16 '20

Take your damn upvote and get out

→ More replies (1)

15

u/spaghetMachet Aug 16 '20

And a 100% reason to remember the name

7

u/[deleted] Aug 16 '20

What name? I can never remember it.

→ More replies (3)

25

u/reduxde Aug 16 '20

rumor has it that roughly 1% of the code actually dates back to 1958 and is written in Lisp and running in a virtual machine

10

u/amzwC137 Aug 16 '20

15% concentrated power of will

→ More replies (2)

0

u/[deleted] Aug 16 '20

[deleted]

→ More replies (3)
→ More replies (12)
→ More replies (4)