Click here to Skip to main content
15,898,222 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: Wasted space Pin
PIEBALDconsult9-Oct-09 4:38
mvePIEBALDconsult9-Oct-09 4:38 
GeneralRe: Wasted space Pin
Jim (SS)9-Oct-09 5:31
Jim (SS)9-Oct-09 5:31 
GeneralRe: Wasted space Pin
PIEBALDconsult9-Oct-09 8:19
mvePIEBALDconsult9-Oct-09 8:19 
GeneralRe: Wasted space Pin
Jim (SS)9-Oct-09 8:25
Jim (SS)9-Oct-09 8:25 
GeneralRe: Wasted space Pin
Robert Surtees9-Oct-09 14:49
Robert Surtees9-Oct-09 14:49 
GeneralRe: Wasted space Pin
Jim (SS)12-Oct-09 6:09
Jim (SS)12-Oct-09 6:09 
GeneralRe: Wasted space Pin
David Skelly12-Oct-09 22:58
David Skelly12-Oct-09 22:58 
GeneralRe: Wasted space Pin
OriginalGriff9-Oct-09 22:19
mveOriginalGriff9-Oct-09 22:19 
Jim (SS) wrote:
I guess I come from a era when performance was always an issue on any platform and for any processing.

We were also limited to 25 row by 80 column displays (green, amber, black and white). That's part of the reason that the wasted space bothers me so much. That one function (with the comments) would take up most of the screen


The worst thing I remember from those days (and please forgive me, I was young) was working with a system with twin 1Mb 8" floppies - no HDD in them days. We had to use functions to save on disk space; if the source code grew too big, there wasn't space to assemble / compile it unless...





...we removed all the comments to make enough space. Gulp. OMG | :OMG:
I even wrote a utility to automate the process of deleting the comments.

No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

GeneralRe: Wasted space Pin
David Skelly12-Oct-09 22:50
David Skelly12-Oct-09 22:50 
GeneralRe: Wasted space Pin
Jim (SS)13-Oct-09 5:34
Jim (SS)13-Oct-09 5:34 
GeneralRe: Wasted space Pin
supercat919-Oct-09 9:07
supercat919-Oct-09 9:07 
GeneralRe: Wasted space Pin
Dan Neely19-Oct-09 10:31
Dan Neely19-Oct-09 10:31 
GeneralRe: Wasted space Pin
David Skelly19-Oct-09 22:21
David Skelly19-Oct-09 22:21 
GeneralRe: Wasted space Pin
Richard MacCutchan19-Oct-09 10:50
mveRichard MacCutchan19-Oct-09 10:50 
GeneralRe: Wasted space Pin
OriginalGriff19-Oct-09 22:16
mveOriginalGriff19-Oct-09 22:16 
GeneralRe: Wasted space Pin
Richard MacCutchan19-Oct-09 23:56
mveRichard MacCutchan19-Oct-09 23:56 
GeneralRe: Wasted space Pin
David Skelly19-Oct-09 22:18
David Skelly19-Oct-09 22:18 
GeneralRe: Wasted space Pin
Machaira15-Oct-09 2:31
Machaira15-Oct-09 2:31 
GeneralRe: Wasted space Pin
dojohansen15-Oct-09 0:50
dojohansen15-Oct-09 0:50 
GeneralRe: Wasted space Pin
justastupidgurl15-Oct-09 2:54
justastupidgurl15-Oct-09 2:54 
GeneralRe: Wasted space Pin
Richard MacCutchan19-Oct-09 23:58
mveRichard MacCutchan19-Oct-09 23:58 
GeneralRe: Wasted space Pin
OriginalGriff20-Oct-09 0:26
mveOriginalGriff20-Oct-09 0:26 
GeneralRe: Wasted space Pin
emunews11-Dec-09 11:36
emunews11-Dec-09 11:36 
GeneralHow to check if one date is bigger than another... Pin
Paulo Zemek29-Sep-09 3:26
Paulo Zemek29-Sep-09 3:26 
GeneralRe: How to check if one date is bigger than another... Pin
Richard MacCutchan29-Sep-09 3:41
mveRichard MacCutchan29-Sep-09 3:41 

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.