Click here to Skip to main content
15,905,566 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.

 
GeneralI do it really often :) Pin
Kochise4-May-07 4:52
Kochise4-May-07 4:52 
GeneralRe: This is just beautiful! Pin
Sylvester george20-Jun-07 3:15
Sylvester george20-Jun-07 3:15 
GeneralMy introduction to "##" Pin
Todd_s0230-Apr-07 13:36
Todd_s0230-Apr-07 13:36 
GeneralRe: My introduction to "##" Pin
Michael Dunn30-Apr-07 14:22
sitebuilderMichael Dunn30-Apr-07 14:22 
GeneralRe: My introduction to "##" Pin
Pete O'Hanlon30-Apr-07 22:22
mvePete O'Hanlon30-Apr-07 22:22 
GeneralRe: My introduction to "##" Pin
Marcus J. Smith1-May-07 2:44
professionalMarcus J. Smith1-May-07 2:44 
GeneralRe: My introduction to "##" Pin
Tristan Rhodes1-May-07 5:38
Tristan Rhodes1-May-07 5:38 
GeneralRe: My introduction to "##" Pin
peterchen1-May-07 19:41
peterchen1-May-07 19:41 
You got something here! At a certain point, complexity can be moved around between "participants", but it remains in the project.

"clipping components together" can increase complexity by one (thinking on a logarithmic scale)

If your target is, however, still two or three orders of complexity away, you are in trouble. I think the idea is to plug together the next layer's "small, primitive classes" from the layer below. However, plugging components may give you the robustness of an application, but components have much higher requirements to be pluggable. At each layer, you spend more and more glue code to fit things together.

It helps to start with a "more skilled", higher level language (i.e. start at higher complexity already, so the gap gets smaller), or apply KISS to the project goals (but that's not always possible).
Hmmm... no solution, nope.






We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
My first real C# project | Linkify!|FoldWithUs! | sighist

GeneralRe: My introduction to "##" Pin
Tristan Rhodes2-May-07 8:59
Tristan Rhodes2-May-07 8:59 
GeneralRe: My introduction to "##" Pin
Pete O'Hanlon2-May-07 1:39
mvePete O'Hanlon2-May-07 1:39 
GeneralRe: My introduction to "##" Pin
peterchen1-May-07 10:45
peterchen1-May-07 10:45 
GeneralRe: My introduction to "##" Pin
PIEBALDconsult1-May-07 15:59
mvePIEBALDconsult1-May-07 15:59 
GeneralRe: My introduction to "##" Pin
peterchen1-May-07 19:31
peterchen1-May-07 19:31 
GeneralRe: My introduction to "##" Pin
PIEBALDconsult2-May-07 3:52
mvePIEBALDconsult2-May-07 3:52 
GeneralRe: My introduction to "##" Pin
Dan Neely2-May-07 3:55
Dan Neely2-May-07 3:55 
GeneralRe: My introduction to "##" Pin
PIEBALDconsult2-May-07 5:23
mvePIEBALDconsult2-May-07 5:23 
JokeRe: My introduction to "##" Pin
Dan Neely2-May-07 7:10
Dan Neely2-May-07 7:10 
GeneralRe: My introduction to "##" Pin
PIEBALDconsult2-May-07 11:11
mvePIEBALDconsult2-May-07 11:11 
GeneralRe: My introduction to "##" Pin
peterchen2-May-07 4:52
peterchen2-May-07 4:52 
GeneralRe: My introduction to "##" Pin
PIEBALDconsult2-May-07 5:33
mvePIEBALDconsult2-May-07 5:33 
GeneralRe: My introduction to "##" Pin
Anton Afanasyev2-May-07 13:40
Anton Afanasyev2-May-07 13:40 
GeneralRe: My introduction to "##" Pin
PIEBALDconsult2-May-07 15:12
mvePIEBALDconsult2-May-07 15:12 
GeneralRe: My introduction to "##" Pin
peterchen13-Dec-10 2:39
peterchen13-Dec-10 2:39 
GeneralRe: My introduction to "##" Pin
PIEBALDconsult2-May-07 20:10
mvePIEBALDconsult2-May-07 20:10 
GeneralRe: My introduction to "##" Pin
peterchen2-May-07 20:46
peterchen2-May-07 20:46 

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.