Click here to Skip to main content
15,885,039 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralMeasuring Effectiveness of a Paradigm Pin
#realJSOP7-Oct-12 1:57
mve#realJSOP7-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
mvaKenneth Haugland7-Oct-12 2:10 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
_Maxxx_7-Oct-12 2:51
professional_Maxxx_7-Oct-12 2:51 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
#realJSOP7-Oct-12 4:41
mve#realJSOP7-Oct-12 4:41 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
JimmyRopes7-Oct-12 5:42
professionalJimmyRopes7-Oct-12 5:42 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
#realJSOP7-Oct-12 6:30
mve#realJSOP7-Oct-12 6:30 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
JimmyRopes7-Oct-12 12:24
professionalJimmyRopes7-Oct-12 12:24 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
#realJSOP8-Oct-12 0:51
mve#realJSOP8-Oct-12 0:51 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
JimmyRopes8-Oct-12 4:23
professionalJimmyRopes8-Oct-12 4:23 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
BillWoodruff8-Oct-12 8:44
professionalBillWoodruff8-Oct-12 8:44 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
JimmyRopes8-Oct-12 9:56
professionalJimmyRopes8-Oct-12 9:56 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
BillWoodruff7-Oct-12 3:19
professionalBillWoodruff7-Oct-12 3:19 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
#realJSOP7-Oct-12 4:39
mve#realJSOP7-Oct-12 4:39 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
BillWoodruff8-Oct-12 8:30
professionalBillWoodruff8-Oct-12 8:30 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
Thornik8-Oct-12 6:38
Thornik8-Oct-12 6:38 
GeneralRe: Measuring Effectiveness of a Paradigm Pin
Florin Jurcovici8-Oct-12 7:47
Florin 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.