Click here to Skip to main content
11,566,149 members (50,683 online)

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, embarrasing 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.

 
GeneralFun with pointers in C++ Pin
C3D125-Jun-15 23:57
professionalC3D125-Jun-15 23:57 
GeneralRe: Fun with pointers in C++ Pin
Daniel Pfeffer26-Jun-15 0:12
professionalDaniel Pfeffer26-Jun-15 0:12 
GeneralRe: Fun with pointers in C++ Pin
Mladen Janković26-Jun-15 2:13
memberMladen Janković26-Jun-15 2:13 
GeneralRe: Fun with pointers in C++ Pin
Daniel Pfeffer26-Jun-15 5:59
professionalDaniel Pfeffer26-Jun-15 5:59 
GeneralRe: Fun with pointers in C++ Pin
C3D126-Jun-15 2:58
professionalC3D126-Jun-15 2:58 
GeneralRe: Fun with pointers in C++ Pin
Daniel Pfeffer26-Jun-15 5:52
professionalDaniel Pfeffer26-Jun-15 5:52 
GeneralRe: Fun with pointers in C++ Pin
Mario Vernari26-Jun-15 2:09
memberMario Vernari26-Jun-15 2:09 
GeneralRe: Fun with pointers in C++ Pin
firegryphon13hrs 7mins ago
memberfiregryphon13hrs 7mins ago 
GeneralRe: Fun with pointers in C++ Pin
DEmberton26-Jun-15 3:30
memberDEmberton26-Jun-15 3:30 
GeneralRe: Fun with pointers in C++ Pin
C3D126-Jun-15 3:50
professionalC3D126-Jun-15 3:50 
GeneralRe: Fun with pointers in C++ Pin
James Curran26-Jun-15 5:22
memberJames Curran26-Jun-15 5:22 
GeneralRe: Fun with pointers in C++ Pin
MarkTJohnson26-Jun-15 5:42
memberMarkTJohnson26-Jun-15 5:42 
GeneralRe: Fun with pointers in C++ Pin
firegryphon12hrs 20mins ago
memberfiregryphon12hrs 20mins ago 
GeneralSwitch boolean.... (reinventing if, unnecessarily) Pin
Rob Grainger25-Jun-15 5:25
memberRob Grainger25-Jun-15 5:25 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Jeremy Falcon25-Jun-15 5:42
professionalJeremy Falcon25-Jun-15 5:42 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Freak3025-Jun-15 21:32
memberFreak3025-Jun-15 21:32 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Jeremy Falcon26-Jun-15 3:23
professionalJeremy Falcon26-Jun-15 3:23 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Bruce Patin26-Jun-15 6:16
memberBruce Patin26-Jun-15 6:16 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
jibalt26-Jun-15 9:53
memberjibalt26-Jun-15 9:53 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
RyanDev25-Jun-15 6:00
mvpRyanDev25-Jun-15 6:00 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Silvabolt25-Jun-15 6:57
memberSilvabolt25-Jun-15 6:57 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Rob Grainger25-Jun-15 9:04
memberRob Grainger25-Jun-15 9:04 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
DJ van Wyk25-Jun-15 19:55
professionalDJ van Wyk25-Jun-15 19:55 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Kirk 1038982126-Jun-15 3:22
memberKirk 1038982126-Jun-15 3:22 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Bruce Patin26-Jun-15 6:26
memberBruce Patin26-Jun-15 6:26 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
cramotowski27-Jun-15 8:40
membercramotowski27-Jun-15 8:40 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
phil.o25-Jun-15 10:23
professionalphil.o25-Jun-15 10:23 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
kmoorevs25-Jun-15 10:59
memberkmoorevs25-Jun-15 10:59 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Sander Rossel25-Jun-15 20:32
professionalSander Rossel25-Jun-15 20:32 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Simon O'Riordan from UK25-Jun-15 22:09
memberSimon O'Riordan from UK25-Jun-15 22:09 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
ScottM125-Jun-15 22:32
memberScottM125-Jun-15 22:32 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Eddy Vluggen25-Jun-15 23:28
professionalEddy Vluggen25-Jun-15 23:28 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Simon O'Riordan from UK25-Jun-15 23:47
memberSimon O'Riordan from UK25-Jun-15 23:47 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Eddy Vluggen26-Jun-15 0:09
professionalEddy Vluggen26-Jun-15 0:09 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Simon O'Riordan from UK26-Jun-15 0:49
memberSimon O'Riordan from UK26-Jun-15 0:49 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Scott Corbett26-Jun-15 2:23
memberScott Corbett26-Jun-15 2:23 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Richard Deeming26-Jun-15 3:23
mvpRichard Deeming26-Jun-15 3:23 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Scott Corbett19hrs 8mins ago
memberScott Corbett19hrs 8mins ago 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Member 1158535826-Jun-15 3:46
memberMember 1158535826-Jun-15 3:46 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Simon O'Riordan from UK28-Jun-15 20:07
memberSimon O'Riordan from UK28-Jun-15 20:07 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
mbb0125-Jun-15 23:41
membermbb0125-Jun-15 23:41 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Daniel Pfeffer26-Jun-15 0:05
professionalDaniel Pfeffer26-Jun-15 0:05 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Member 990836226-Jun-15 3:08
memberMember 990836226-Jun-15 3:08 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Basketcase Software26-Jun-15 3:33
professionalBasketcase Software26-Jun-15 3:33 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Member 410629926-Jun-15 4:37
memberMember 410629926-Jun-15 4:37 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Member 1159491426-Jun-15 5:19
memberMember 1159491426-Jun-15 5:19 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
DanKorn26-Jun-15 9:23
memberDanKorn26-Jun-15 9:23 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Member 1159491426-Jun-15 10:22
memberMember 1159491426-Jun-15 10:22 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
DanKorn26-Jun-15 11:03
memberDanKorn26-Jun-15 11:03 
GeneralRe: Switch boolean.... (reinventing if, unnecessarily) Pin
Member 1159491426-Jun-15 13:15
memberMember 1159491426-Jun-15 13:15 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.150624.2 | Last Updated 30 Jun 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid