Re: reduce redundant code
- From: "MP" <NoSpam@xxxxxxxxxx>
- Date: Tue, 11 Mar 2008 18:51:55 -0500
"Ralph" <nt_consulting64@xxxxxxxxx> wrote in message
news:uXBHnf8gIHA.4140@xxxxxxxxxxxxxxxxxxxxxxx
"MP" <NoSpam@xxxxxxxxxx> wrote in message
news:Oz$SIG8gIHA.536@xxxxxxxxxxxxxxxxxxxxxxx
"Ralph" <nt_consulting64@xxxxxxxxx> wrote in message
news:OkB%23ag7gIHA.4724@xxxxxxxxxxxxxxxxxxxxxxx
my sample is totally f*ed up?
"MP" <NoSpam@xxxxxxxxxx> wrote in message
<snipped>
mark
No, not at all. But it doesn't appear very "elegant" does it?
really sheepish grin....well, I *thought* it was more elegant than the
original form?
goes to show what I know!
:-)
I'd appreciate a specific pointer to the "non-elegance"
what is it i'm doing wrong in that (admittedly brief :-) ) sample
Over the years, what has always been interesting to me is the innate
ability
of a programmer to notice when something "just ain't right". Experience
will
teach to recognize "Bad Patterns" as quickly as "Good Patterns". Frankly
the
former is perhaps more useful as a learning tool than the latter. <g>
Go ahead and follow through with it. Usually the effort itself will be
more
enlightening than a ton of books.
well, I did and it "works" and I thought it was "better", and I was asking
if it was an example of "strategy" pattern but apparently it's just another
example of my confused state
<vbg>
But since you ordered the book - you will soon be on your way to
"elegance"
that fits YOUR problem domain.
well, maybe not...
I've read :
1 gof (several times)
2 Object-Oriented Modeling and Design by Rumbaugh
3 Microsoft Visual Basic Design Patterns by Stamatakis
oh crap i also bought and read (in 2005)
4 Design Patterns Explained : A New Perspective on Object-Oriented Design
now just ordered a second time cause I didn't remember the title...grrrr ...
:-)
5 Head First Object-Oriented Analysis and Design: A Brain Friendly Guide to
OOA&D
6 Object-Oriented Thought Process, The (2nd Edition)
and apparenly none of that is sinking in
:-(
-ralph
.
- References:
- reduce redundant code
- From: MP
- Re: reduce redundant code
- From: Ralph
- Re: reduce redundant code
- From: MP
- Re: reduce redundant code
- From: Ralph
- Re: reduce redundant code
- From: MP
- Re: reduce redundant code
- From: Ralph
- reduce redundant code
- Prev by Date: Re: Group characters in textbox
- Next by Date: Re: Cancel error without goto
- Previous by thread: Re: reduce redundant code
- Next by thread: Re: reduce redundant code
- Index(es):
Relevant Pages
|