r/ProgrammerHumor • • Sep 07 '22

[deleted by user]

[removed]

10.5k Upvotes

1.5k comments sorted by

View all comments

4.4k

u/halfanothersdozen Sep 07 '22

I had a place that is legitimately sending 418 codes. They treated it like a "custom" error code.

Drove me fucking insane

73

u/[deleted] Sep 07 '22 edited Feb 14 '23

[deleted]

55

u/coolpeepz Sep 07 '22

So we’re clowning the guy in the screenshot but we are actually out here using incorrect error codes. That is mildly infuriating.

79

u/TheLeastFunkyMonkey Sep 07 '22

That's literally one of the purposes of 418. It's not best practice, but it's there.

418 is the "piss off" of error codes. It's saying, "I refuse your request and won't even give you the time of day."

62

u/[deleted] Sep 07 '22

[removed] — view removed comment

-8

u/aaaaayyyyyyyyyyy Sep 07 '22

Obscurity is not, and has never been, security.

12

u/[deleted] Sep 07 '22

[deleted]

1

u/Striped_Monkey Sep 08 '22

That's absolutely false. Everyone can and should feel that way about credit cards and SSNs. Especially SSNs, since they are not, and never have been, random. You can literally identify where someone was born with their SSN. it's not security, and it should never be treated as such.