Objectmodeling C# issue..
-
Anyone able to help me on this issue: http://www.codeproject.com/Messages/3485044/Design-issue-modified.aspx[^]
- Life would be so much easier if I had the source code! - If C# had true garbage collection, most applications would delete themselves upon execution ;)
-
Anyone able to help me on this issue: http://www.codeproject.com/Messages/3485044/Design-issue-modified.aspx[^]
- Life would be so much easier if I had the source code! - If C# had true garbage collection, most applications would delete themselves upon execution ;)
I'm sure I'll get shouted at for this but OO is not the answer to everything. Your requirement looks very simple so keep it that way. If you really feel the need to objectify such a trivial requirement then break it down into logical components and go from there but you can end up over-engineering the solution. KISS - "keep it simple, stupid" works nearly every time. Take a look at this, as well: Design Patterns[^].
me, me, me "The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!" Larry Niven nils illegitimus carborundum
-
I'm sure I'll get shouted at for this but OO is not the answer to everything. Your requirement looks very simple so keep it that way. If you really feel the need to objectify such a trivial requirement then break it down into logical components and go from there but you can end up over-engineering the solution. KISS - "keep it simple, stupid" works nearly every time. Take a look at this, as well: Design Patterns[^].
me, me, me "The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!" Larry Niven nils illegitimus carborundum
I agree with you. I got halfway through typing the same response to the original post and then chickened out. :-D
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” Why do programmers often confuse Halloween and Christmas? Because 31 Oct = 25 Dec.
-
I agree with you. I got halfway through typing the same response to the original post and then chickened out. :-D
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” Why do programmers often confuse Halloween and Christmas? Because 31 Oct = 25 Dec.
Henry Minute wrote:
I got halfway through typing the same response to the original post and then chickened out.
:laugh: Very good: I'm so used to being flamed that another roasting wouldn't hurt a bit!
me, me, me "The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!" Larry Niven nils illegitimus carborundum
-
Anyone able to help me on this issue: http://www.codeproject.com/Messages/3485044/Design-issue-modified.aspx[^]
- Life would be so much easier if I had the source code! - If C# had true garbage collection, most applications would delete themselves upon execution ;)
Others have answered succinctly, but I must beg of you - don't crosspost. It makes it hard for people to follow answers.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.