Click here to Skip to main content
15,886,049 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: MVVM Pin
Dominic Burford14-Feb-17 2:58
professionalDominic Burford14-Feb-17 2:58 
GeneralRe: MVVM Pin
Pete O'Hanlon14-Feb-17 4:29
mvePete O'Hanlon14-Feb-17 4:29 
GeneralRe: MVVM Pin
Dominic Burford14-Feb-17 5:47
professionalDominic Burford14-Feb-17 5:47 
GeneralRe: MVVM PinPopular
Clifford Nelson1-Feb-17 6:59
Clifford Nelson1-Feb-17 6:59 
GeneralRe: MVVM Pin
Bernhard Hiller1-Feb-17 21:09
Bernhard Hiller1-Feb-17 21:09 
GeneralRe: MVVM Pin
Sander Rossel1-Feb-17 12:53
professionalSander Rossel1-Feb-17 12:53 
GeneralRe: MVVM Pin
johannesnestler1-Feb-17 22:11
johannesnestler1-Feb-17 22:11 
GeneralRe: MVVM PinPopular
mbb011-Feb-17 23:18
mbb011-Feb-17 23:18 
MVVM is incredibly difficult to get right and even after 8 years of tinkering with it I'm still learning! Some developers don't have the time, patience or permission to waste time getting it just right, when going to the code behind gets the job done.

I found the learning curve for WPF/MVVM incredibly steep and I'm sure that puts off many beginners. Part of that learning was the realization that MS put WPF out there half-baked and then moved onto something else. I find that over the years I've collected or developed so much code that could have easily been rolled into the framework at some point.

I find XAML particularly obtuse and difficult to work with at times. If I could change or improve two things with WPF it would be to simplify the XMAL syntax and dependency properties - the real place where 'code behind' should go.

It is such a shame that this technology isn't as accessible as Winforms because it can be incredibly powerful. Then again, maybe MS should admit that really the way to go is HTML5/CSS and simply replace what XMAL does with that. Unless (I'm not quite up to speed with Universal Apps) there is something already for that?
GeneralRe: MVVM Pin
Member 113540342-Feb-17 12:06
Member 113540342-Feb-17 12:06 
GeneralRe: MVVM Pin
Brady Kelly2-Feb-17 2:55
Brady Kelly2-Feb-17 2:55 
GeneralRe: MVVM Pin
Gerry Schmitz2-Feb-17 5:57
mveGerry Schmitz2-Feb-17 5:57 
GeneralRe: MVVM Pin
Arlo Weston3-Feb-17 0:49
Arlo Weston3-Feb-17 0:49 
GeneralRe: MVVM Pin
Dennis_E13-Feb-17 22:37
professionalDennis_E13-Feb-17 22:37 
GeneralRe: MVVM Pin
Nelek14-Feb-17 7:23
protectorNelek14-Feb-17 7:23 
GeneralRe: MVVM Pin
YaakovF23-Feb-17 2:50
YaakovF23-Feb-17 2:50 
Generalnew bool() Pin
Marc Clifton31-Jan-17 7:01
mvaMarc Clifton31-Jan-17 7:01 
GeneralRe: new bool() PinPopular
Dave Kreskowiak31-Jan-17 7:08
mveDave Kreskowiak31-Jan-17 7:08 
GeneralRe: new bool() Pin
Marc Clifton31-Jan-17 7:11
mvaMarc Clifton31-Jan-17 7:11 
GeneralRe: new bool() Pin
Dave Kreskowiak31-Jan-17 7:16
mveDave Kreskowiak31-Jan-17 7:16 
GeneralRe: new bool() Pin
David O'Neil31-Jan-17 7:11
professionalDavid O'Neil31-Jan-17 7:11 
GeneralRe: new bool() Pin
ZurdoDev31-Jan-17 7:21
professionalZurdoDev31-Jan-17 7:21 
GeneralRe: new bool() Pin
TheGreatAndPowerfulOz31-Jan-17 7:38
TheGreatAndPowerfulOz31-Jan-17 7:38 
GeneralRe: new bool() Pin
ZurdoDev31-Jan-17 7:55
professionalZurdoDev31-Jan-17 7:55 
GeneralRe: new bool() Pin
Sander Rossel31-Jan-17 8:51
professionalSander Rossel31-Jan-17 8:51 
GeneralRe: new bool() Pin
harold aptroot31-Jan-17 10:32
harold aptroot31-Jan-17 10:32 

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.