Search the web
Sign In
New User? Sign Up
leanprogramming · Lean Programming
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 15 - 45 of 367   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
15
So we all have our weaknesses, right? ...or, at least, "areas for improvement" which ammount to the same thing. One of my many is naming. Mostly class...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 3, 2007
11:55 pm
16
... I lost you here... are you saying that "Dictionary" is a bad name for this particular structure?...
Matt
maswaffer
Offline Send Email
Dec 5, 2007
8:29 pm
17
... for ... Thank you for your reply. I believe it is the first, no? People seem to favor the name "Dictionary" over "Map." I don't know why, exactly. These...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 6, 2007
2:08 am
18
... <Max.Guernsey@...> wrote: Well your reasoning makes sense about the dictionary thing... however to split semantic hairs with you.... when a map says 1->1...
Matt
maswaffer
Offline Send Email
Dec 6, 2007
6:11 am
19
... however to ... to ... to ... This is indeed my point. They are both maps but people seem to prefer the word "Dictionary" and dictionary terminology such...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 6, 2007
3:09 pm
20
... I would agree with that. Doesn't it still somewhat depend on the intended audience? A class library that is likely to be used by database guru's might...
Matt
maswaffer
Offline Send Email
Dec 6, 2007
3:32 pm
21
... as "key" ... do ... to "look ... getting its ... those ... to ... but a ... Well... yes... and, again, that gets to the heart of the question. Using your...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 6, 2007
6:23 pm
23
http://www.netobjectivesrepository.com/TheVisitorPattern "...to be performed on the elements of an object structure" is taken to mean "effect the state of...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 12, 2007
1:58 pm
24
The second installment in my battery of questions pertaining to: http://www.netobjectivesrepository.com/TheVisitorPattern We all know about visitors that are...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 12, 2007
1:59 pm
25
Question #3 regarding http://www.netobjectivesrepository.com/TheVisitorPattern. Under the Cost-Benefit (gain-loss) section it says: "The coupling of the...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 12, 2007
2:01 pm
26
Pertaining to http://www.netobjectivesrepository.com/TheStrategyPattern In the motiviation section: "A single behavior with varying implementation exists" The...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 12, 2007
6:41 pm
27
Sure is quiet... ...yeah... a little /too/ quiet. This is pertaining to the Template Method Pattern ...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 13, 2007
2:43 pm
28
This is pertaining to the Template Method Pattern (http://www.netobjectivesrepository.com/TheTemplateMethodPattern). What is the class-level equivalent of the...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 13, 2007
3:06 pm
29
... taken to ... *** Actually, it doesn't necessarily (or even primarily) mean state. It means the objects in a structure (possibly collection) where you need...
Alan Shalloway
alshalloway
Offline Send Email
Dec 13, 2007
6:25 pm
30
... So ... I don't see why not. Alan Shalloway CEO, Net Objectives...
Alan Shalloway
alshalloway
Offline Send Email
Dec 13, 2007
6:28 pm
31
... Remember that the visitor should be used either where reflection is either unavailable (C++) or is too costly. Otherwise, the visitor is a way of...
Alan Shalloway
alshalloway
Offline Send Email
Dec 13, 2007
6:29 pm
32
... by ... however, ... of ... This isn't a "classic" template, but it does implement the intent using two strategies. In my mind, having code and asking what...
Alan Shalloway
alshalloway
Offline Send Email
Dec 13, 2007
6:32 pm
33
... It ... is ... previous ... organize ... is ... non- ... I'm not sure what you mean by a class level equivalent. Please clarify. Alan Shalloway CEO, Net...
Alan Shalloway
alshalloway
Offline Send Email
Dec 13, 2007
6:33 pm
34
... Really? So using a Chain of Responsibility and reflection to react to types in an object structure is not an implementation of the Visitor Pattern? Max...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 13, 2007
6:44 pm
35
... bbq ... Agreed and that's why I tried to frame the question first then added the code as a supplimentary example. I have a problem articulating things in...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 13, 2007
6:47 pm
36
Hi, Max, ... Note the intent of Visitor: We want to be able to add type-specific behavior to Visited later, without having to change Visited's interface. The...
Rob Myers
xyphrnld0x
Offline Send Email
Dec 13, 2007
6:57 pm
37
... I'm not sure, either. The simple case is, as I said, when you have an implementation of the Strategy Pattern that uses a compositional implementation of...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 13, 2007
6:58 pm
38
... the ... vary ... like ... don't ... fills ... Don't worry about the implementation. Worry about what you are trying to accomplish. Strategy is about...
Alan Shalloway
alshalloway
Offline Send Email
Dec 13, 2007
7:06 pm
39
Let's use your example: Who would decide whether a Square was big or small? The Square, inside Square.Accept(Visitor)? That would work, of course... ......
Rob Myers
xyphrnld0x
Offline Send Email
Dec 13, 2007
7:06 pm
40
All Patterns, and OO programming overall, is about communication and maintainability. Reflection tends to disguise things. Visitor Pattern does tend to add...
Rob Myers
xyphrnld0x
Offline Send Email
Dec 13, 2007
7:17 pm
41
The latter interpretation is correct, though I have used the former interpretation when trying out a new (e.g., faster or cleaner) algorithm. I left the...
Rob Myers
xyphrnld0x
Offline Send Email
Dec 13, 2007
7:23 pm
42
... Thank you, Alan. I'm not trying to convey implementation. I'm trying to convey intent using implementation. The intent is this: Have an object that...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 13, 2007
7:28 pm
43
... or ... could ... necessarily ... decide ... Freeing ourself from the technology for a moment, what if it was easy to add and remove methods and the...
Max Guernsey, III
maxguernseyiii
Offline Send Email
Dec 13, 2007
7:31 pm
44
In a way, what you've written is a Template Method. Is there a relationship between the selection of Step1 and Step2? They have to come from somewhere (e.g.,...
Rob Myers
xyphrnld0x
Offline Send Email
Dec 13, 2007
7:37 pm
45
I love that analogy! And right before lunch! What chicken parmesian with shrimp in it instead? Take away the cheese now and use butter. Now take off the...
Rob Myers
xyphrnld0x
Offline Send Email
Dec 13, 2007
7:39 pm
Messages 15 - 45 of 367   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help