Click here to Skip to main content
15,905,614 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: The worst code i've ever seen.... Pin
Derek Bartram12-Apr-08 14:10
Derek Bartram12-Apr-08 14:10 
GeneralRe: The worst code i've ever seen.... Pin
elektrowolf12-Apr-08 21:36
elektrowolf12-Apr-08 21:36 
GeneralRe: The worst code i've ever seen.... Pin
Derek Bartram13-Apr-08 3:37
Derek Bartram13-Apr-08 3:37 
GeneralRe: The worst code i've ever seen.... [modified] Pin
Georgi Atanasov13-Apr-08 9:58
Georgi Atanasov13-Apr-08 9:58 
GeneralRe: The worst code i've ever seen.... Pin
Derek Bartram16-Apr-08 2:26
Derek Bartram16-Apr-08 2:26 
GeneralRe: The worst code i've ever seen.... Pin
Georgi Atanasov16-Apr-08 22:32
Georgi Atanasov16-Apr-08 22:32 
GeneralRe: The worst code i've ever seen.... Pin
Derek Bartram18-Apr-08 5:51
Derek Bartram18-Apr-08 5:51 
GeneralRe: The worst code i've ever seen.... Pin
Derek Bartram12-Apr-08 14:09
Derek Bartram12-Apr-08 14:09 
Georgi Atanasov wrote:
That is my personal opinion of course.


And which is why you can get away being so wrong Poke tongue | ;-P

On a little more serious note...


Georgi Atanasov wrote:
Java is completely detached from the underlying OS


So? If it works then why not?


Georgi Atanasov wrote:
99% of the controls are wrappers of their Win32 equivalents; you need to know Win32 API in order to create commercial controls


I'm not sure i'd agree; I've created a Office Fleunt Ribbon control library using nothing more than WPF, which i'm happily using in a commercial grade application, with no problems (http://www.codeproject.com/KB/WPF/ribboncontrol.aspx[^], see also CIRIP).


Georgi Atanasov wrote:
WPF consumes lot of memory


It's a new technology, and so not full optimised yet; hey if you want to moan about something *new* then why not have a go about the lack of an open and save dialog. I'm sure exactly the same was said of MFC, Swing, etc.


Georgi Atanasov wrote:
is not the platform a company, which cares about performance, would choose on...


There are companies using it, admitadly few currently but growing by the day. Yes, performance is shocking until you learn how to use it properly and then it's more than fast enough. Companies in my eyes don't care about performance, they care about cost to produce something that does the job, and from my experience WPF reduces development time (after over 4-5 years of Windows Forms (and Java Swing for that matter) and only <6 months WPF programming).
GeneralRe: The worst code i've ever seen.... Pin
elektrowolf14-Apr-08 2:48
elektrowolf14-Apr-08 2:48 
GeneralRe: The worst code i've ever seen.... Pin
Derek Bartram16-Apr-08 2:29
Derek Bartram16-Apr-08 2:29 
GeneralRe: The worst code i've ever seen.... Pin
elektrowolf16-Apr-08 8:13
elektrowolf16-Apr-08 8:13 
GeneralRe: The worst code i've ever seen.... Pin
Jordanwb1-Apr-08 2:10
Jordanwb1-Apr-08 2:10 
GeneralRe: The worst code i've ever seen.... Pin
zildjohn0110-Apr-08 17:16
zildjohn0110-Apr-08 17:16 
GeneralRe: The worst code i've ever seen.... Pin
elektrowolf12-Apr-08 8:25
elektrowolf12-Apr-08 8:25 
GeneralRe: The worst code i've ever seen.... Pin
Derek Bartram12-Apr-08 14:00
Derek Bartram12-Apr-08 14:00 
GeneralRe: The worst code i've ever seen.... Pin
elektrowolf12-Apr-08 21:39
elektrowolf12-Apr-08 21:39 
GeneralRe: The worst code i've ever seen.... Pin
Derek Bartram13-Apr-08 3:36
Derek Bartram13-Apr-08 3:36 
GeneralAnonamous delegates gone mad! Pin
Derek Bartram21-Mar-08 12:20
Derek Bartram21-Mar-08 12:20 
GeneralRe: Anonamous delegates gone mad! Pin
PIEBALDconsult21-Mar-08 13:10
mvePIEBALDconsult21-Mar-08 13:10 
GeneralRe: Anonamous delegates gone mad! Pin
Derek Bartram21-Mar-08 15:22
Derek Bartram21-Mar-08 15:22 
GeneralRe: Anonamous delegates gone mad! Pin
leppie22-Mar-08 7:01
leppie22-Mar-08 7:01 
GeneralRe: Anonamous delegates gone mad! Pin
Derek Bartram22-Mar-08 7:38
Derek Bartram22-Mar-08 7:38 
GeneralRe: Anonamous delegates gone mad! Pin
leppie22-Mar-08 7:58
leppie22-Mar-08 7:58 
GeneralRe: Anonamous delegates gone mad! Pin
Derek Bartram22-Mar-08 10:37
Derek Bartram22-Mar-08 10:37 
GeneralRe: Anonamous delegates gone mad! Pin
MidwestLimey24-Mar-08 5:45
professionalMidwestLimey24-Mar-08 5:45 

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.