- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
That wasn't an assumption. The application said it had succeeded, and presumably said the same thing when it really succeded, so why would the scripts do anything else?
But it's definitely a WTF-worthy bug, especially if it's repeated everywhere.
Admin
They assumed the other tool was telling the truth.
Admin
It succeeded at failing, now if it had failed to fail what would you have done?
Admin
27 IQ-points just exited my brain. Were they successful?
Admin
On error Resume Next
Still in my nightmares sometime.
Admin
Wot, Remy, no Oracle bashing this time?
You missed a step there ...
Admin
Failure is success, exception is the norm, int is a string. 1984
Admin
I've looked up some definitions of 'Failure' and 'Success'
I like this one most. "Success is the ability to go from one failure to another with no loss of enthusiasm.” (Churchill)
Admin
Was somebody try to say that they has successfully written to the log? That looks like the only way I could defined that as a success.
Addendum 2022-05-18 07:56: Oops, they HAD successfully.
Addendum 2022-05-18 07:57: Oops2, I could HAVE defined
Admin
All sales-led business, which is most of them, know that success is the only acceptable attitude. Admitting failure, even when it's objectively and unignorably true, is just wrong thinking and self-sabotaging. Or so salescritters believe.
So in organizations like that, returning
EXIT_SUCCESS
would be mandatory. It would be up to the next step in the tool chain to divine whether the reported sucess is real or illusory. Of course that step too must returnEXIT_SUCCESS
regardless of factual reality.Said another way, it's
EXIT_SUCCESS
all the way down.Admin
I can see the movie now... "How To Succeed In Software Without Really Trying."
Admin
exited, not exitted, come on man
Admin
A link about the subject:
https://debeste.de/255597/Task-Failed-successfully
Admin
In weightlifting, exercising your muscle to failure is a success.
Admin
I need a tee shirt that says FAILED SUCCESSFULLY in big, unapologetic letters.
Admin
What about MAKE FAILURE SUCCESS AGAIN?
Admin
This is the shell script equivalent of exception swallowing technology:
try { // ... } catch { // gulp }
Admin
They have one that's pretty close on Redbubble... https://www.redbubble.com/i/t-shirt/successful-loser-by-Yourgood/68160689.FB110.XYZ
Admin
That one sounds too much like malicious compliance for my taste.
Admin
BDConnect
? Maybe the real WTF is that they'reconnecting to a "bata dase" in the first place.Admin
EN: database == FR: Base de Données. Possibly what the "BD" in "BDConnect" refers to...
Admin
I don't see what's wrong with malicious compliance, frankly.
Admin
I'm sure that will really
catch
on, though you may need to wait before itfinally
does.