Another "Gem" I did...
-
Whilst knocking out a feature that I'd come back to... I did this bit of code:
public bool IsSuperUserEnabled()
{
return true;
}Whilst investigating a minor issue I had whilst testing things, I stumbled back upon it... never again!
-
Whilst knocking out a feature that I'd come back to... I did this bit of code:
public bool IsSuperUserEnabled()
{
return true;
}Whilst investigating a minor issue I had whilst testing things, I stumbled back upon it... never again!
Oops!
Bob Dole
The internet is a great way to get on the net.
:doh: 2.0.82.7292 SP6a
-
Whilst knocking out a feature that I'd come back to... I did this bit of code:
public bool IsSuperUserEnabled()
{
return true;
}Whilst investigating a minor issue I had whilst testing things, I stumbled back upon it... never again!
You should put this in the "The Weird & The Wonderful" forum. ;P
- Life in the fast lane is only fun if you live in a country with no speed limits. - Of all the things I have lost, it is my mind that I miss the most. - I vaguely remember having a good memory...
-
You should put this in the "The Weird & The Wonderful" forum. ;P
- Life in the fast lane is only fun if you live in a country with no speed limits. - Of all the things I have lost, it is my mind that I miss the most. - I vaguely remember having a good memory...
-
Forogar wrote:
"The Weird & The Wonderful" forum.
That's only for others' mistakes, not your own :)
Self flagellation is allowed
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
-
Self flagellation is allowed
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
Do I need to re-post it? Or is there a way to "Move" it...
-
Do I need to re-post it? Or is there a way to "Move" it...
It doesn't really matter. Here, your foul stench[sorry, I have been watching Star Wars again recently] code faux pas will fade into obscurity fairly quickly. In "The Weird & The Wonderful" it will last, along with your shame, forever!
- Life in the fast lane is only fun if you live in a country with no speed limits. - Of all the things I have lost, it is my mind that I miss the most. - I vaguely remember having a good memory...
-
Oops!
Bob Dole
The internet is a great way to get on the net.
:doh: 2.0.82.7292 SP6a
Brisingr Aerowing wrote:
Oops!
That was a dialog message I put into a debug version of an app many years ago. It wasn't until a user of the product triggered a very obscure piece of code that it was discovered. A wonderful email message from the user went something like: "I'm not sure if it is the computer telling me I did something wrong or if you did. Either way, could you take a look, please?" "Oops". Not something a program should say...
I wasn't, now I am, then I won't be anymore.
-
Brisingr Aerowing wrote:
Oops!
That was a dialog message I put into a debug version of an app many years ago. It wasn't until a user of the product triggered a very obscure piece of code that it was discovered. A wonderful email message from the user went something like: "I'm not sure if it is the computer telling me I did something wrong or if you did. Either way, could you take a look, please?" "Oops". Not something a program should say...
I wasn't, now I am, then I won't be anymore.
There was one in our software that said "not even"... :doh: Figured out it meant the data set was not an even number and couldn't be parsed correctly (it should always be even since it expects IQ-complex data), but that error message was not very informative at all (in hindsight it makes sense, but it could have more info).
-
Brisingr Aerowing wrote:
Oops!
That was a dialog message I put into a debug version of an app many years ago. It wasn't until a user of the product triggered a very obscure piece of code that it was discovered. A wonderful email message from the user went something like: "I'm not sure if it is the computer telling me I did something wrong or if you did. Either way, could you take a look, please?" "Oops". Not something a program should say...
I wasn't, now I am, then I won't be anymore.
A couple years ago, before I was at the company, we had an irate customer call in because of a message dialog that said "Boo!" that resulted from a very specific set of key strokes and mouse clicks. He immediately demanded to talk to the owner/CEO of the company (not quite as extreme as it seems, as we are a fairly small company of roughly 60 employees in the office).
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
-
Whilst knocking out a feature that I'd come back to... I did this bit of code:
public bool IsSuperUserEnabled()
{
return true;
}Whilst investigating a minor issue I had whilst testing things, I stumbled back upon it... never again!
-
Whilst knocking out a feature that I'd come back to... I did this bit of code:
public bool IsSuperUserEnabled()
{
return true;
}Whilst investigating a minor issue I had whilst testing things, I stumbled back upon it... never again!
I use TODO: comments for that regularly. You could even set up a script to disallow checking in code containing offending article.