Re: Is this too much OOP?



needin4mation@xxxxxxxxx wrote:

Thanks (to all). I am using Learing C# 2005 by Jesse Liberty. I
really just want to make things "right" this time. I know I can make
it work, but not always "right." Yes, I know those are subjective
terms. I think perhaps looking at some good OOP open source was a good
idea too. Hopefully, I can find good stuff...somewhere. I also went
to your blog. Did you make that link cloud, that is, design it?

I've never been a big fan of Mr. Liberty myself but to each his own.
AFAIC, the less duplication in your code, the more "right" it is.

1) If you have two blocks of code that do the same thing, dump one.
2) If you have two variables that contain the same value or a variable
that contains the same value as a calculation would produce dump one.
3) If you have two bits of decision logic that would always evaluate the
same, dump one.

--
There are two things that simply cannot be doubted, logic and perception.
Doubt those, and you no longer have anyone to discuss your doubts with,
nor any ability to discuss them.
.



Relevant Pages

  • Re: How to become a better rifle shot fast
    ... # Why do you call Malvern a dump? ... It has the best highpower match program ... liberty in a front-line state. ...
    (rec.guns)
  • Re: Dump kernel routing table
    ... I wish to dump the kernel routing table. ... "They that give up essential liberty to obtain temporary safety, ...
    (freebsd-net)
  • Re: Dump from cron job, need to change tape
    ... >>I hope I am not asking a NewB question, but I read through dump and cron ... >>runs to the end, issues the end of tape, and then dump fails. ... "They that would give up essential liberty for temporary safety deserve ...
    (freebsd-questions)
  • Re: Michitgan.....
    ... TD on a fake Statue of Liberty. ... LOL ... Those who bet Michitgan can't even dump their bets. ...
    (rec.sport.football.college)
  • Re: Setting up a motor for ball mill
    ... It's alright now.....I picked up a whole fan from the dump for $3. ... When i plugged it in it didnt work so i tried to see what was ...
    (rec.pyrotechnics)