A plea from the heart.
-
Please, PLEASE, gentle developers, I beg you, please,. from the bottom of my heart, not to put business logic into your Getters and Setters. Please. If I ever catch the person responsible for the spaghetti I'm wading through now I'll chop their meatballs off * and serve them to themselves, with extra hot sauce. God's teeth, it's a mess! * If they are female, I'll ask them on a date first.
MVVM # - I did it My Way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')
-
Please, PLEASE, gentle developers, I beg you, please,. from the bottom of my heart, not to put business logic into your Getters and Setters. Please. If I ever catch the person responsible for the spaghetti I'm wading through now I'll chop their meatballs off * and serve them to themselves, with extra hot sauce. God's teeth, it's a mess! * If they are female, I'll ask them on a date first.
MVVM # - I did it My Way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')
If you prefer to get everything from data access to presentation logic in stored procedures made by former Access mutilators...
The language is JavaScript. that of Mordor, which I will not utter here
I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript. -
Please, PLEASE, gentle developers, I beg you, please,. from the bottom of my heart, not to put business logic into your Getters and Setters. Please. If I ever catch the person responsible for the spaghetti I'm wading through now I'll chop their meatballs off * and serve them to themselves, with extra hot sauce. God's teeth, it's a mess! * If they are female, I'll ask them on a date first.
MVVM # - I did it My Way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')
Isn't that the whole point of using properties instead of using the fields directly? :ducks:
Wrong is evil and must be defeated. - Jeff Ello[^]
-
Please, PLEASE, gentle developers, I beg you, please,. from the bottom of my heart, not to put business logic into your Getters and Setters. Please. If I ever catch the person responsible for the spaghetti I'm wading through now I'll chop their meatballs off * and serve them to themselves, with extra hot sauce. God's teeth, it's a mess! * If they are female, I'll ask them on a date first.
MVVM # - I did it My Way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')
-
Please, PLEASE, gentle developers, I beg you, please,. from the bottom of my heart, not to put business logic into your Getters and Setters. Please. If I ever catch the person responsible for the spaghetti I'm wading through now I'll chop their meatballs off * and serve them to themselves, with extra hot sauce. God's teeth, it's a mess! * If they are female, I'll ask them on a date first.
MVVM # - I did it My Way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')
-
Please, PLEASE, gentle developers, I beg you, please,. from the bottom of my heart, not to put business logic into your Getters and Setters. Please. If I ever catch the person responsible for the spaghetti I'm wading through now I'll chop their meatballs off * and serve them to themselves, with extra hot sauce. God's teeth, it's a mess! * If they are female, I'll ask them on a date first.
MVVM # - I did it My Way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')
You are so right, the business logic should be in the UI where it's easy to change. :rolleyes:
speramus in juniperus
-
If you prefer to get everything from data access to presentation logic in stored procedures made by former Access mutilators...
The language is JavaScript. that of Mordor, which I will not utter here
I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.You are sick, well done.
speramus in juniperus
-
Please, PLEASE, gentle developers, I beg you, please,. from the bottom of my heart, not to put business logic into your Getters and Setters. Please. If I ever catch the person responsible for the spaghetti I'm wading through now I'll chop their meatballs off * and serve them to themselves, with extra hot sauce. God's teeth, it's a mess! * If they are female, I'll ask them on a date first.
MVVM # - I did it My Way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')
I did that mistake once. Was quite "interesting" that everytime I hovered with the mouse over the field name the value changed :laugh: Since then the only "logic" in Setters is if an event has to be raised when the value has changed (e.g. NotifyPropertyChanged).
-
You are sick, well done.
speramus in juniperus
Many of the applications I have to work with have been ported from Access, so that's exactly what I earn my money with now. Actually I have already seen worse and been given less opportunity to do something about it. The man in charge of the last dinosaur Access projects sits right at the next desk. He is from Hungary and (despite doing Access) a great guy. But he sounds exactly like Count Dracula in some old movie. :-)
The language is JavaScript. that of Mordor, which I will not utter here
I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.