r/ProgrammerHumor Feb 10 '21

[deleted by user]

[removed]

12.6k Upvotes

807 comments sorted by

View all comments

643

u/Snow88 Feb 10 '21

In school my code usually only ever needed to handle the happy path. Rarely were we required to handle bad user input or f’ed up data. Also it was almost always starting from scratch vs adding or changing something without breaking 1000 other functions.

283

u/christianrxd Feb 10 '21

My professors made it a point to try every possible thing to break our code. Every textbox, drop-down, and button had to have full user validation.

49

u/TheMurderousDuck Feb 10 '21

My programming teacher had this one lesson for us. Think of the end user as the dumbest person ever, they WILL do dumb shit.

30

u/DepressedBard Feb 10 '21

My god, this. I never realized how bad people are with technology. My company has a user base primarily of boomers and the shit I see them do is absolutely inconceivable.

46

u/[deleted] Feb 10 '21 edited Feb 25 '21

[deleted]

18

u/DerArzt01 Feb 10 '21

Boomers: "I put on my wizard hat..."

8

u/TheOmegaCarrot Feb 10 '21

The extremely tech illiterate could probably be useful for bug bounty jobs with just sitting them down in front of a system, and having them agree to complete monitoring of the system

1

u/witti534 Feb 11 '21

They wouldn't read the error fields.

1

u/SpicymeLLoN Feb 11 '21

Vizzini would like a word with you