Click here to Skip to main content
12,502,346 members (55,738 online)

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy except programming questions.

Technical discussions are encouraged, but click here to ask your programming question.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralMeasuring Effectiveness of a Paradigm Pin
John Simmons / outlaw programmer7-Oct-12 1:57
mvpJohn Simmons / outlaw programmer7-Oct-12 1:57 
When I adopted .Net back in 2008, I wrote a CP article around a game I wrote called Anagrams. Given my recent re-introduction to WPF, I figured it would be interesting to rewrite that application using WPF, along with MVVM. I am nearing completion of the app, and was curious to see how much MVVM could simplify the code on the front end (mostly because I realized that I wasn't modifying the window code much), and was amazed to see that there are less than 150 lines of code in the main windows class (the original version required 272 lines in the main form file). I still haven't written the timer code or adding the configuration stuff, but none of that should add appreciably to the main window cs file.

I guess you could call MVVM an effective method for simplifying the code, at least on the user interface side.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

GeneralRe: Measuring Effectiveness of a Paradigm Pin
Kenneth Haugland7-Oct-12 2:10
memberKenneth Haugland7-Oct-12 2:10 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
_Maxxx_7-Oct-12 2:51
member_Maxxx_7-Oct-12 2:51 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
John Simmons / outlaw programmer7-Oct-12 4:41
mvpJohn Simmons / outlaw programmer7-Oct-12 4:41 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
JimmyRopes7-Oct-12 5:42
memberJimmyRopes7-Oct-12 5:42 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
John Simmons / outlaw programmer7-Oct-12 6:30
mvpJohn Simmons / outlaw programmer7-Oct-12 6:30 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
JimmyRopes7-Oct-12 12:24
memberJimmyRopes7-Oct-12 12:24 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
John Simmons / outlaw programmer8-Oct-12 0:51
mvpJohn Simmons / outlaw programmer8-Oct-12 0:51 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
JimmyRopes8-Oct-12 4:23
memberJimmyRopes8-Oct-12 4:23 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
BillWoodruff8-Oct-12 8:44
memberBillWoodruff8-Oct-12 8:44 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
JimmyRopes8-Oct-12 9:56
memberJimmyRopes8-Oct-12 9:56 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
BillWoodruff7-Oct-12 3:19
memberBillWoodruff7-Oct-12 3:19 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
John Simmons / outlaw programmer7-Oct-12 4:39
mvpJohn Simmons / outlaw programmer7-Oct-12 4:39 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
BillWoodruff8-Oct-12 8:30
memberBillWoodruff8-Oct-12 8:30 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
Thornik8-Oct-12 6:38
memberThornik8-Oct-12 6:38 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
Florin Jurcovici8-Oct-12 7:47
memberFlorin Jurcovici8-Oct-12 7:47 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160919.1 | Last Updated 26 Sep 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid