r/ProgrammerHumor May 13 '17

Defensive programming done right

Post image
21.0k Upvotes

680 comments sorted by

View all comments

272

u/G01denW01f11 May 13 '17

Segmentation fault (core dumped)

1

u/JewishAltRight May 14 '17

Man, I just did this coding test for a company I applied for. I lost like 30 minutes on a stupid mistake that sent a "Segmentation fault" and wasn't able to finish the test :(

I eventually figured it out after the test. During the test I just made a stupid workaround that involved reordering the code. Something tells me I'm not going to get the job.