Click here to Skip to main content
11,496,146 members (92 online)

The Weird and The Wonderful

The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
   

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.

 
GeneralRe: Yes I know it was me who wrote that... Pin
Richard Deeming10-Dec-13 6:58
professionalRichard Deeming10-Dec-13 6:58 
GeneralRe: Yes I know it was me who wrote that... Pin
GuyThiebaut10-Dec-13 7:00
professionalGuyThiebaut10-Dec-13 7:00 
GeneralRe: Yes I know it was me who wrote that... Pin
BobJanova10-Dec-13 7:40
memberBobJanova10-Dec-13 7:40 
GeneralRe: Yes I know it was me who wrote that... Pin
Richard Deeming10-Dec-13 7:50
professionalRichard Deeming10-Dec-13 7:50 
GeneralRe: Yes I know it was me who wrote that... Pin
BobJanova10-Dec-13 7:59
memberBobJanova10-Dec-13 7:59 
GeneralRe: Yes I know it was me who wrote that... Pin
Richard Deeming10-Dec-13 8:01
professionalRichard Deeming10-Dec-13 8:01 
GeneralRe: Yes I know it was me who wrote that... Pin
OriginalGriff10-Dec-13 9:34
protectorOriginalGriff10-Dec-13 9:34 
GeneralRe: Yes I know it was me who wrote that... Pin
CDP180210-Dec-13 18:09
memberCDP180210-Dec-13 18:09 
Clearly a functional language will magically make this far better:

((xum 567 487) (map item (lambda x (find (xor x (and y z)) (encode pi 49)))
The language is JavaScript. that of Mordor, which I will not utter here

I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.

GeneralRe: Yes I know it was me who wrote that... Pin
OriginalGriff10-Dec-13 22:20
protectorOriginalGriff10-Dec-13 22:20 
GeneralRe: Yes I know it was me who wrote that... Pin
Argonia10-Dec-13 21:36
memberArgonia10-Dec-13 21:36 
GeneralRe: Yes I know it was me who wrote that... Pin
Richard Deeming11-Dec-13 3:27
professionalRichard Deeming11-Dec-13 3:27 
GeneralRe: Yes I know it was me who wrote that... Pin
OriginalGriff11-Dec-13 4:00
protectorOriginalGriff11-Dec-13 4:00 
GeneralRe: Yes I know it was me who wrote that... Pin
Richard Deeming11-Dec-13 4:27
professionalRichard Deeming11-Dec-13 4:27 
GeneralRe: Yes I know it was me who wrote that... Pin
OriginalGriff11-Dec-13 4:46
protectorOriginalGriff11-Dec-13 4:46 
GeneralRe: Yes I know it was me who wrote that... Pin
Argonia11-Dec-13 4:57
memberArgonia11-Dec-13 4:57 
GeneralRe: Yes I know it was me who wrote that... Pin
OriginalGriff11-Dec-13 5:57
protectorOriginalGriff11-Dec-13 5:57 
GeneralRe: Yes I know it was me who wrote that... [modified] Pin
Argonia11-Dec-13 6:04
memberArgonia11-Dec-13 6:04 
GeneralRe: Yes I know it was me who wrote that... Pin
Richard Deeming11-Dec-13 6:13
professionalRichard Deeming11-Dec-13 6:13 
GeneralRe: Yes I know it was me who wrote that... Pin
Argonia11-Dec-13 6:16
memberArgonia11-Dec-13 6:16 
GeneralRe: Yes I know it was me who wrote that... Pin
Rob Grainger17-Dec-13 2:30
memberRob Grainger17-Dec-13 2:30 
GeneralRe: Yes I know it was me who wrote that... Pin
Richard Deeming11-Dec-13 5:09
professionalRichard Deeming11-Dec-13 5:09 
GeneralRe: Yes I know it was me who wrote that... Pin
Jörgen Andersson11-Dec-13 21:16
memberJörgen Andersson11-Dec-13 21:16 
GeneralRe: Yes I know it was me who wrote that... Pin
ledtech320-Dec-13 16:13
memberledtech320-Dec-13 16:13 
GeneralRe: Yes I know it was me who wrote that... Pin
VUnreal15-Jan-14 11:37
memberVUnreal15-Jan-14 11:37 
GeneralRe: Yes I know it was me who wrote that... Pin
phil.o13-Dec-13 0:03
memberphil.o13-Dec-13 0:03 

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
Web03 | 2.8.150520.1 | Last Updated 30 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid