Click here to Skip to main content
15,887,931 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.

 
GeneralRe: Uncheck this if you are not a bot Pin
jesarg7-Jul-14 10:49
jesarg7-Jul-14 10:49 
GeneralRe: Uncheck this if you are not a bot Pin
OriginalGriff8-Jul-14 1:38
mveOriginalGriff8-Jul-14 1:38 
GeneralXPath oddity Pin
PIEBALDconsult3-Jul-14 8:15
mvePIEBALDconsult3-Jul-14 8:15 
GeneralRe: XPath oddity Pin
Richard Deeming3-Jul-14 8:39
mveRichard Deeming3-Jul-14 8:39 
GeneralRe: XPath oddity Pin
PIEBALDconsult3-Jul-14 9:21
mvePIEBALDconsult3-Jul-14 9:21 
GeneralComparisons... Pin
jan larsen30-Jun-14 23:30
jan larsen30-Jun-14 23:30 
GeneralRe: Comparisons... Pin
Bernhard Hiller1-Jul-14 20:56
Bernhard Hiller1-Jul-14 20:56 
GeneralRe: Comparisons... Pin
jan larsen4-Jul-14 2:46
jan larsen4-Jul-14 2:46 
I wish it was that easy. But X++ does not have overrides, the Dynamics Ax VM creates SQL statements from this code.
By tracing statements in the SQL Server I may be able to see the different statements created, but the bottom line is, that this should be a very very simple comparison, and having a failure here, gives me the creeps.
"God doesn't play dice" - Albert Einstein

"God not only plays dice, He sometimes throws the dices where they cannot be seen" - Niels Bohr

GeneralRe: Comparisons... Pin
Bernhard Hiller4-Jul-14 3:15
Bernhard Hiller4-Jul-14 3:15 
GeneralRe: Comparisons... Pin
jan larsen9-Jul-14 22:28
jan larsen9-Jul-14 22:28 
GeneralIIF to the rescue... Pin
Sander Rossel30-Jun-14 5:29
professionalSander Rossel30-Jun-14 5:29 
GeneralRe: IIF to the rescue... Pin
Bernhard Hiller30-Jun-14 20:38
Bernhard Hiller30-Jun-14 20:38 
GeneralRe: IIF to the rescue... Pin
Sander Rossel30-Jun-14 20:56
professionalSander Rossel30-Jun-14 20:56 
GeneralRe: IIF to the rescue... Pin
Bernhard Hiller30-Jun-14 21:35
Bernhard Hiller30-Jun-14 21:35 
GeneralRe: IIF to the rescue... Pin
Sander Rossel30-Jun-14 21:56
professionalSander Rossel30-Jun-14 21:56 
GeneralRe: IIF to the rescue... Pin
Bernhard Hiller1-Jul-14 20:57
Bernhard Hiller1-Jul-14 20:57 
GeneralRe: IIF to the rescue... Pin
Sander Rossel2-Jul-14 0:58
professionalSander Rossel2-Jul-14 0:58 
GeneralRe: IIF to the rescue... Pin
Nagy Vilmos30-Jun-14 23:43
professionalNagy Vilmos30-Jun-14 23:43 
GeneralRe: IIF to the rescue... Pin
Sander Rossel1-Jul-14 0:16
professionalSander Rossel1-Jul-14 0:16 
GeneralRe: IIF to the rescue... Pin
Richard Deeming1-Jul-14 2:33
mveRichard Deeming1-Jul-14 2:33 
GeneralRe: IIF to the rescue... Pin
PaulLinton2-Jul-14 15:14
PaulLinton2-Jul-14 15:14 
GeneralRe: IIF to the rescue... Pin
Sander Rossel2-Jul-14 19:31
professionalSander Rossel2-Jul-14 19:31 
GeneralRe: IIF to the rescue... Pin
Jörgen Andersson5-Jul-14 20:02
professionalJörgen Andersson5-Jul-14 20:02 
GeneralStarting to page OS to disk! Pin
David O'Neil27-Jun-14 10:22
professionalDavid O'Neil27-Jun-14 10:22 
GeneralChecking for empty guid Pin
Stepan Kobzey26-Jun-14 10:04
Stepan Kobzey26-Jun-14 10:04 

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.