Article 55822 CodeSOD: locurlicenseucesss

CodeSOD: locurlicenseucesss

by
Remy Porter
from The Daily WTF on (#55822)

The past few weeks, I've been writing software for a recording device. This is good, because when I'm frustrated by the bugs I put in the code and I start cursing at it, it's not venting, it's testing.

There are all sorts of other little things we can do to vent. Imagine, if you will, you find yourself writing an if with an empty body, but an else clause that does work. You'd probably be upset at yourself. You might be stunned. You might be so tired it feels like a good idea at the time. You might be deep in the throes of just. work. goddammit". Regardless of the source of that strain, you need to let it out somewhere.

Emmanuelle found this is a legacy PHP codebase:

if(mynum($Q)){ // Congratulations, you has locurlicenseucesss asdfghjk} else { header("Location: feed.php");}

I think being diagnosed with locurlicenseucesss should not be a cause for congratulations, but maybe I'm the one that's confused.

Emmanuelle adds: Honestly, I have no idea how this happened."

otter-icon.png [Advertisement] Continuously monitor your servers for configuration changes, and report when there's configuration drift. Get started with Otter today! TheDailyWtf?d=yIl2AUoC8zAktexPbL6D7E
External Content
Source RSS or Atom Feed
Feed Location http://syndication.thedailywtf.com/TheDailyWtf
Feed Title The Daily WTF
Feed Link http://thedailywtf.com/
Reply 0 comments