Click here to Skip to main content
15,124,861 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: Don't know whether it's weird, or wonderful Pin
Nguyen.H.H.Dang21-Aug-16 16:11
professionalNguyen.H.H.Dang21-Aug-16 16:11 
GeneralRe: Don't know whether it's weird, or wonderful Pin
Dennis_E15-Oct-15 3:14
professionalDennis_E15-Oct-15 3:14 
GeneralRe: Don't know whether it's weird, or wonderful Pin
phil.o15-Oct-15 12:32
mvephil.o15-Oct-15 12:32 
GeneralRe: Don't know whether it's weird, or wonderful Pin
PIEBALDconsult16-Oct-15 9:02
professionalPIEBALDconsult16-Oct-15 9:02 
GeneralRe: Don't know whether it's weird, or wonderful Pin
phil.o16-Oct-15 9:15
mvephil.o16-Oct-15 9:15 
GeneralC++ expression(s) Pin
C3D113-Oct-15 0:04
professionalC3D113-Oct-15 0:04 
GeneralRe: C++ expression(s) Pin
megaadam13-Oct-15 1:46
professionalmegaadam13-Oct-15 1:46 
GeneralRe: C++ expression(s) Pin
den2k8813-Oct-15 3:54
professionalden2k8813-Oct-15 3:54 
The shorter the code the faster it gets... thrown out of the window along with the programmer Suspicious | :suss:

I sometimes write artworks like that but in 5 minutes I expand them to the readable form. It's just better.
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X

If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver

"When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey

GeneralRe: C++ expression(s) PinPopular
Indivara13-Oct-15 4:52
professionalIndivara13-Oct-15 4:52 
GeneralRe: C++ expression(s) Pin
den2k8813-Oct-15 5:01
professionalden2k8813-Oct-15 5:01 
GeneralRe: C++ expression(s) Pin
Agent__00715-Oct-15 1:10
professionalAgent__00715-Oct-15 1:10 
GeneralRe: C++ expression(s) Pin
Power Puff Boy15-Oct-15 1:22
MemberPower Puff Boy15-Oct-15 1:22 
GeneralRe: C++ expression(s) Pin
C3D129-Oct-15 22:21
professionalC3D129-Oct-15 22:21 
GeneralRe: C++ expression(s) Pin
CDP180213-Oct-15 5:21
MemberCDP180213-Oct-15 5:21 
GeneralRe: C++ expression(s) Pin
k505413-Oct-15 7:47
mvek505413-Oct-15 7:47 
GeneralRe: C++ expression(s) Pin
PIEBALDconsult16-Oct-15 8:58
professionalPIEBALDconsult16-Oct-15 8:58 
GeneralRe: C++ expression(s) Pin
Dan Neely16-Oct-15 9:55
MemberDan Neely16-Oct-15 9:55 
GeneralRe: C++ expression(s) Pin
C3D129-Oct-15 22:26
professionalC3D129-Oct-15 22:26 
JokeAmazon's rules, Amazon's fail Pin
Tibor Blazko8-Oct-15 9:11
MemberTibor Blazko8-Oct-15 9:11 
GeneralMan-in-the-middle SSL-Streams Pin
Dr Gadgit30-Sep-15 9:53
MemberDr Gadgit30-Sep-15 9:53 
GeneralIt's alive.....! Pin
Duncan Edwards Jones18-Sep-15 5:42
professionalDuncan Edwards Jones18-Sep-15 5:42 
GeneralRe: It's alive.....! Pin
Richard Deeming18-Sep-15 5:52
mveRichard Deeming18-Sep-15 5:52 
GeneralRe: It's alive.....! Pin
Palash Mondal_18-Sep-15 6:12
professionalPalash Mondal_18-Sep-15 6:12 
GeneralRe: It's alive.....! Pin
phil.o13-Oct-15 2:57
mvephil.o13-Oct-15 2:57 
GeneralRe: It's alive.....! Pin
Duncan Edwards Jones13-Oct-15 3:18
professionalDuncan Edwards Jones13-Oct-15 3:18 

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.