Click here to Skip to main content
15,886,919 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
RantRe: Incomprehensible C++ error messages Pin
Gary Wheeler3-Feb-20 2:53
Gary Wheeler3-Feb-20 2:53 
GeneralRe: Incomprehensible C++ error messages Pin
Bob10003-Feb-20 7:06
professionalBob10003-Feb-20 7:06 
GeneralRe: Incomprehensible C++ error messages Pin
SeattleC++3-Feb-20 4:47
SeattleC++3-Feb-20 4:47 
GeneralRe: Incomprehensible C++ error messages Pin
Alan Balkany4-Feb-20 10:50
Alan Balkany4-Feb-20 10:50 
GeneralRe: Incomprehensible C++ error messages Pin
SeattleC++4-Feb-20 12:02
SeattleC++4-Feb-20 12:02 
GeneralRe: Incomprehensible C++ error messages Pin
Alan Balkany4-Feb-20 12:09
Alan Balkany4-Feb-20 12:09 
GeneralRe: Incomprehensible C++ error messages Pin
Dan Sutton3-Feb-20 5:54
Dan Sutton3-Feb-20 5:54 
GeneralRe: Incomprehensible C++ error messages Pin
John R. Shaw27-Feb-20 18:30
John R. Shaw27-Feb-20 18:30 
Laugh | :laugh: That reminds me. Some years ago I saw a list of unusual messages from searching multiple source code files. There were errors something like: "WTF: This should never happen". Well I give them props for covering every possible scenario, even those that should never happen.

At least that Cobol error was comprehensible. C++ template error messages often require a text editor to break it down into its component parts, so you can find the relevant information. Other error messages are not even close to the actual cause of the error; like reporting missing <something> at the end of some standard libraries header file - when the error is, of course, in one of your source files. Sigh | :sigh:
INTP
"Program testing can be used to show the presence of bugs, but never to show their absence." - Edsger Dijkstra
"I have never been lost, but I will admit to being confused for several weeks. " - Daniel Boone

GeneralRe: Incomprehensible C++ error messages Pin
Stefan_Lang9-Mar-20 0:06
Stefan_Lang9-Mar-20 0:06 
GeneralRe: Incomprehensible C++ error messages Pin
John R. Shaw13-Mar-20 4:21
John R. Shaw13-Mar-20 4:21 
GeneralRe: Incomprehensible C++ error messages Pin
RugbyLeague29-Mar-20 21:35
RugbyLeague29-Mar-20 21:35 
GeneralRe: Incomprehensible C++ error messages Pin
ajhampson3-Feb-20 11:06
ajhampson3-Feb-20 11:06 
GeneralRe: Incomprehensible C++ error messages Pin
Stefan_Lang8-Mar-20 23:59
Stefan_Lang8-Mar-20 23:59 
GeneralRe: Incomprehensible C++ error messages Pin
John R. Shaw26-Mar-20 20:28
John R. Shaw26-Mar-20 20:28 
Generalwhere can i post my course url here without being banned? Pin
FatalError0x4c28-Jan-20 21:59
FatalError0x4c28-Jan-20 21:59 
GeneralRe: where can i post my course url here without being banned? Pin
GKP199228-Jan-20 22:05
professionalGKP199228-Jan-20 22:05 
GeneralRe: where can i post my course url here without being banned? Pin
Richard MacCutchan28-Jan-20 22:13
mveRichard MacCutchan28-Jan-20 22:13 
GeneralRe: where can i post my course url here without being banned? Pin
GKP199228-Jan-20 22:38
professionalGKP199228-Jan-20 22:38 
GeneralRe: where can i post my course url here without being banned? Pin
Richard MacCutchan28-Jan-20 22:14
mveRichard MacCutchan28-Jan-20 22:14 
GeneralBubble Sort, O(N^2) aka Quadratic time Pin
raddevus27-Jan-20 5:38
mvaraddevus27-Jan-20 5:38 
GeneralRe: Bubble Sort, O(N^2) aka Quadratic time PinPopular
Nelek27-Jan-20 8:01
protectorNelek27-Jan-20 8:01 
GeneralRe: Bubble Sort, O(N^2) aka Quadratic time Pin
raddevus27-Jan-20 8:10
mvaraddevus27-Jan-20 8:10 
GeneralRe: Bubble Sort, O(N^2) aka Quadratic time Pin
Nelek27-Jan-20 8:15
protectorNelek27-Jan-20 8:15 
GeneralRe: Bubble Sort, O(N^2) aka Quadratic time Pin
raddevus27-Jan-20 8:38
mvaraddevus27-Jan-20 8:38 
GeneralRe: Bubble Sort, O(N^2) aka Quadratic time Pin
agolddog29-Jan-20 3:26
agolddog29-Jan-20 3:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.