What would you name this class? [modified]
-
(This is not a programming question). I have a bunch of
Foo
objects, all of which are controlled by aFooManager
. What would you name an object that controls a collection ofFooManager
s? [edit]Foo
,FooManager
and the manager ofFooManager
s are all processes in a distributed system. [/edit] [edit] John C is right - this really does belong in the Design forum. I might have actually got more than a couple of useful answers if I'd posted there in the first place. :-D [/edit] Thanks, /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
modified on Thursday, May 22, 2008 12:49 PM
Since it deals with Managers, how about Fool? :)
Christopher Duncan Author of The Career Programmer and Unite the Tribes www.PracticalUSA.com
-
(This is not a programming question). I have a bunch of
Foo
objects, all of which are controlled by aFooManager
. What would you name an object that controls a collection ofFooManager
s? [edit]Foo
,FooManager
and the manager ofFooManager
s are all processes in a distributed system. [/edit] [edit] John C is right - this really does belong in the Design forum. I might have actually got more than a couple of useful answers if I'd posted there in the first place. :-D [/edit] Thanks, /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
modified on Thursday, May 22, 2008 12:49 PM
Disaster
maybe? ;PMostly, when you see programmers, they aren't doing anything. One of the attractive things about programmers is that you cannot tell whether or not they are working simply by looking at them. Very often they're sitting there seemingly drinking coffee and gossiping, or just staring into space. What the programmer is trying to do is get a handle on all the individual and unrelated ideas that are scampering around in his head. (Charles M Strauss)
-
(This is not a programming question). I have a bunch of
Foo
objects, all of which are controlled by aFooManager
. What would you name an object that controls a collection ofFooManager
s? [edit]Foo
,FooManager
and the manager ofFooManager
s are all processes in a distributed system. [/edit] [edit] John C is right - this really does belong in the Design forum. I might have actually got more than a couple of useful answers if I'd posted there in the first place. :-D [/edit] Thanks, /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
modified on Thursday, May 22, 2008 12:49 PM
FooWorld
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
(This is not a programming question). I have a bunch of
Foo
objects, all of which are controlled by aFooManager
. What would you name an object that controls a collection ofFooManager
s? [edit]Foo
,FooManager
and the manager ofFooManager
s are all processes in a distributed system. [/edit] [edit] John C is right - this really does belong in the Design forum. I might have actually got more than a couple of useful answers if I'd posted there in the first place. :-D [/edit] Thanks, /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
modified on Thursday, May 22, 2008 12:49 PM
Ravi Bhavnani wrote:
I have a bunch of Foo objects, all of which are controlled by a FooManager. What would you name an object that controls a collection of FooManagers?
It's bloody obvious FooFighters!
Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
-
(This is not a programming question). I have a bunch of
Foo
objects, all of which are controlled by aFooManager
. What would you name an object that controls a collection ofFooManager
s? [edit]Foo
,FooManager
and the manager ofFooManager
s are all processes in a distributed system. [/edit] [edit] John C is right - this really does belong in the Design forum. I might have actually got more than a couple of useful answers if I'd posted there in the first place. :-D [/edit] Thanks, /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
modified on Thursday, May 22, 2008 12:49 PM
FooMorons
-
(This is not a programming question). I have a bunch of
Foo
objects, all of which are controlled by aFooManager
. What would you name an object that controls a collection ofFooManager
s? [edit]Foo
,FooManager
and the manager ofFooManager
s are all processes in a distributed system. [/edit] [edit] John C is right - this really does belong in the Design forum. I might have actually got more than a couple of useful answers if I'd posted there in the first place. :-D [/edit] Thanks, /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
modified on Thursday, May 22, 2008 12:49 PM
FooQueue? :-O
-
(This is not a programming question). I have a bunch of
Foo
objects, all of which are controlled by aFooManager
. What would you name an object that controls a collection ofFooManager
s? [edit]Foo
,FooManager
and the manager ofFooManager
s are all processes in a distributed system. [/edit] [edit] John C is right - this really does belong in the Design forum. I might have actually got more than a couple of useful answers if I'd posted there in the first place. :-D [/edit] Thanks, /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
modified on Thursday, May 22, 2008 12:49 PM
-
(This is not a programming question). I have a bunch of
Foo
objects, all of which are controlled by aFooManager
. What would you name an object that controls a collection ofFooManager
s? [edit]Foo
,FooManager
and the manager ofFooManager
s are all processes in a distributed system. [/edit] [edit] John C is right - this really does belong in the Design forum. I might have actually got more than a couple of useful answers if I'd posted there in the first place. :-D [/edit] Thanks, /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
modified on Thursday, May 22, 2008 12:49 PM
FooBoss
"I'm not altogether all together."
-
(This is not a programming question). I have a bunch of
Foo
objects, all of which are controlled by aFooManager
. What would you name an object that controls a collection ofFooManager
s? [edit]Foo
,FooManager
and the manager ofFooManager
s are all processes in a distributed system. [/edit] [edit] John C is right - this really does belong in the Design forum. I might have actually got more than a couple of useful answers if I'd posted there in the first place. :-D [/edit] Thanks, /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
modified on Thursday, May 22, 2008 12:49 PM
Ravi Bhavnani wrote:
What would you name an object that controls a collection of FooManagers?
FooManagerController
-
(This is not a programming question). I have a bunch of
Foo
objects, all of which are controlled by aFooManager
. What would you name an object that controls a collection ofFooManager
s? [edit]Foo
,FooManager
and the manager ofFooManager
s are all processes in a distributed system. [/edit] [edit] John C is right - this really does belong in the Design forum. I might have actually got more than a couple of useful answers if I'd posted there in the first place. :-D [/edit] Thanks, /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
modified on Thursday, May 22, 2008 12:49 PM
If you follow the conventions used in the .NET Framework: class name:
FooManagerCollection
. property name:FooManagers
(for a property that returns aFooManagerCollection
). By using the suffix "Collection", you're also indicating that the class behaves like a collection, so you might want to base it onCollectionBase
. As that class predates generics, you might also want to implementICollection<FooManager>
andIList<FooManager>
(this may happen automagically with CollectionBase now - I actually never tested that - but I suspect not).-- Peter
-
Ravi Bhavnani wrote:
What would you name an object that controls a collection of FooManagers?
FooManagerController
Nemanja Trifunovic wrote:
FooManagerController
Yep, that's what I originally chose. I was wondering someone had a better idea. Thanks, /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
If you follow the conventions used in the .NET Framework: class name:
FooManagerCollection
. property name:FooManagers
(for a property that returns aFooManagerCollection
). By using the suffix "Collection", you're also indicating that the class behaves like a collection, so you might want to base it onCollectionBase
. As that class predates generics, you might also want to implementICollection<FooManager>
andIList<FooManager>
(this may happen automagically with CollectionBase now - I actually never tested that - but I suspect not).-- Peter
PeterTheSwede wrote:
FooManagerCollection
Actually it's not a collection.
Foo
,FooManager
and aFooManagerController
(the name I originally came up with) are all processes in a distributed system. /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
(This is not a programming question). I have a bunch of
Foo
objects, all of which are controlled by aFooManager
. What would you name an object that controls a collection ofFooManager
s? [edit]Foo
,FooManager
and the manager ofFooManager
s are all processes in a distributed system. [/edit] [edit] John C is right - this really does belong in the Design forum. I might have actually got more than a couple of useful answers if I'd posted there in the first place. :-D [/edit] Thanks, /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
modified on Thursday, May 22, 2008 12:49 PM
DasFoohrer!
-
PeterTheSwede wrote:
FooManagerCollection
Actually it's not a collection.
Foo
,FooManager
and aFooManagerController
(the name I originally came up with) are all processes in a distributed system. /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
Right. I second the
FooManagerController
suggestion then. Although some of the other suggestions are clearly more fun. Why notFooBar
? It has a nostalgic ring to it...-- Peter
-
(This is not a programming question). I have a bunch of
Foo
objects, all of which are controlled by aFooManager
. What would you name an object that controls a collection ofFooManager
s? [edit]Foo
,FooManager
and the manager ofFooManager
s are all processes in a distributed system. [/edit] [edit] John C is right - this really does belong in the Design forum. I might have actually got more than a couple of useful answers if I'd posted there in the first place. :-D [/edit] Thanks, /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
modified on Thursday, May 22, 2008 12:49 PM
FooFoo :-) I must admit that sounded funnier in my head than it looks in print. Oh well.
-
Right. I second the
FooManagerController
suggestion then. Although some of the other suggestions are clearly more fun. Why notFooBar
? It has a nostalgic ring to it...-- Peter
-
DasFoohrer!
DasFooT
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Ummmm... I think the CP community just killed your server... scalability issues, anyone? In any case... nice name choice! Is your K&R also still sitting next to you in a bookshelf? Mine is (next to me, that is). :-)
-- Peter
-
(This is not a programming question). I have a bunch of
Foo
objects, all of which are controlled by aFooManager
. What would you name an object that controls a collection ofFooManager
s? [edit]Foo
,FooManager
and the manager ofFooManager
s are all processes in a distributed system. [/edit] [edit] John C is right - this really does belong in the Design forum. I might have actually got more than a couple of useful answers if I'd posted there in the first place. :-D [/edit] Thanks, /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
modified on Thursday, May 22, 2008 12:49 PM
FooGoo FoosToi
-
Ummmm... I think the CP community just killed your server... scalability issues, anyone? In any case... nice name choice! Is your K&R also still sitting next to you in a bookshelf? Mine is (next to me, that is). :-)
-- Peter
PeterTheSwede wrote:
Is your K&R also still sitting next to you in a bookshelf?
Fer sure! Next to my 5 volumes of Knuth! /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com