Click here to Skip to main content
11,438,226 members (75,542 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.

 
GeneralRe: Function name choice Pin
Otto Grunf8-Sep-14 7:36
memberOtto Grunf8-Sep-14 7:36 
GeneralRe: Function name choice Pin
PIEBALDconsult8-Sep-14 8:14
memberPIEBALDconsult8-Sep-14 8:14 
GeneralRe: Function name choice Pin
Richard Deeming8-Sep-14 9:02
professionalRichard Deeming8-Sep-14 9:02 
GeneralRe: Function name choice Pin
Smart K88-Sep-14 8:57
professionalSmart K88-Sep-14 8:57 
GeneralRe: Function name choice [modified] Pin
John M. Drescher8-Sep-14 9:12
memberJohn M. Drescher8-Sep-14 9:12 
GeneralRe: Function name choice Pin
Smart K88-Sep-14 9:20
professionalSmart K88-Sep-14 9:20 
GeneralRe: Function name choice Pin
Otto Grunf8-Sep-14 9:31
memberOtto Grunf8-Sep-14 9:31 
GeneralThe Sandbox Pin
ColborneGreg30-Aug-14 9:12
memberColborneGreg30-Aug-14 9:12 
Computer memory is amazing

We start out with this wonderful sandbox
A place where we can mold objects out of thin air
and the space is limitless in every direction

It's just the only way in or out is up

It may seem like the sandbox is small because we can see the edge of it
but as programmers we can expand the memory space so we never reach the edge
until that moment we run out of memory
which isn't such a big problem any more
but it has been
so now we have all this code that cleans up memory

So like a 3D game as we navigate through the map loading and unloading happens
on top of that
the scopes now plague us
global level, local level, and room level (procedure level)

So now we find ourselves locked in a bathroom
with the only way out of the sandbox
whish is up
the sky is out a tiny window
GeneralMessage Removed Pin
Brisingr Aerowing30-Aug-14 11:21
professionalBrisingr Aerowing30-Aug-14 11:21 
JokeRe: The Sandbox Pin
DaveX8630-Aug-14 15:20
memberDaveX8630-Aug-14 15:20 
GeneralRe: The Sandbox Pin
ColborneGreg30-Aug-14 19:13
memberColborneGreg30-Aug-14 19:13 
GeneralKill me Pin
PhilLenoir28-Aug-14 10:04
memberPhilLenoir28-Aug-14 10:04 
GeneralRe: Kill me Pin
Gary R. Wheeler7-Sep-14 3:38
memberGary R. Wheeler7-Sep-14 3:38 
GeneralWhat is null equal to? Pin
sloosecannon25-Aug-14 6:59
membersloosecannon25-Aug-14 6:59 
GeneralRe: What is null equal to? Pin
PIEBALDconsult25-Aug-14 7:27
memberPIEBALDconsult25-Aug-14 7:27 
GeneralRe: What is null equal to? Pin
mark merrens25-Aug-14 7:56
membermark merrens25-Aug-14 7:56 
AnswerRe: What is null equal to? [modified] Pin
Afzaal Ahmad Zeeshan25-Aug-14 7:59
professionalAfzaal Ahmad Zeeshan25-Aug-14 7:59 
GeneralRe: What is null equal to? Pin
sloosecannon25-Aug-14 8:45
membersloosecannon25-Aug-14 8:45 
GeneralRe: What is null equal to? Pin
OriginalGriff25-Aug-14 9:15
protectorOriginalGriff25-Aug-14 9:15 
GeneralRe: What is null equal to? Pin
Brisingr Aerowing25-Aug-14 13:06
professionalBrisingr Aerowing25-Aug-14 13:06 
GeneralRe: What is null equal to? Pin
sloosecannon25-Aug-14 19:01
membersloosecannon25-Aug-14 19:01 
GeneralRe: What is null equal to? Pin
Rob Grainger27-Aug-14 6:47
memberRob Grainger27-Aug-14 6:47 
GeneralRe: What is null equal to? Pin
Rob Grainger29-Sep-14 0:20
memberRob Grainger29-Sep-14 0:20 
GeneralRe: What is null equal to? Pin
Paulo Zemek25-Aug-14 9:49
professionalPaulo Zemek25-Aug-14 9:49 
GeneralRe: What is null equal to? Pin
V.25-Aug-14 20:43
professionalV.25-Aug-14 20:43 

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