Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What would you name this class? [modified]

What would you name this class? [modified]

Scheduled Pinned Locked Moved The Lounge
questioncsharpcomdesigntools
122 Posts 61 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Ravi Bhavnani

    (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

    My 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

    M Offline
    M Offline
    Member 96
    wrote on last edited by
    #2

    Ravi Bhavnani wrote:

    (This is not a programming question).

    No, but it's a design question and we have a forum for that. :)


    "The great pleasure in life is doing what people say you cannot do." - Walter Bagehot

    R B 2 Replies Last reply
    0
    • R Ravi Bhavnani

      (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

      My 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

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #3

      FooManagerCollectionController? ...or how about "Fred"?

      1 Reply Last reply
      0
      • R Ravi Bhavnani

        (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

        My 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

        D Offline
        D Offline
        daniilzol
        wrote on last edited by
        #4

        FooCEO?

        G 1 Reply Last reply
        0
        • R Ravi Bhavnani

          (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

          My 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

          C Offline
          C Offline
          Christopher Duncan
          wrote on last edited by
          #5

          Since it deals with Managers, how about Fool? :)

          Christopher Duncan Author of The Career Programmer and Unite the Tribes www.PracticalUSA.com

          A 1 Reply Last reply
          0
          • R Ravi Bhavnani

            (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

            My 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

            M Offline
            M Offline
            Mladen Jankovic
            wrote on last edited by
            #6

            Disaster maybe? ;P

            Mostly, 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)

            1 Reply Last reply
            0
            • R Ravi Bhavnani

              (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

              My 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

              R Offline
              R Offline
              realJSOP
              wrote on last edited by
              #7

              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

              1 Reply Last reply
              0
              • R Ravi Bhavnani

                (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

                My 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

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #8

                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

                1 Reply Last reply
                0
                • R Ravi Bhavnani

                  (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

                  My 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

                  C Offline
                  C Offline
                  code frog 0
                  wrote on last edited by
                  #9

                  FooMorons

                  1 Reply Last reply
                  0
                  • R Ravi Bhavnani

                    (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

                    My 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

                    T Offline
                    T Offline
                    Tim Deveaux
                    wrote on last edited by
                    #10

                    FooQueue? :-O

                    P H 2 Replies Last reply
                    0
                    • R Ravi Bhavnani

                      (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

                      My 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

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #11

                      Ravi Bhavnani wrote:

                      What would you name an object that controls a collection of FooManagers?

                      FooVP Then of course there is the FooPrez who controls a collection of FooVPs.

                      1 Reply Last reply
                      0
                      • R Ravi Bhavnani

                        (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

                        My 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

                        D Offline
                        D Offline
                        Dirk Higbee
                        wrote on last edited by
                        #12

                        FooBoss

                        "I'm not altogether all together."

                        1 Reply Last reply
                        0
                        • R Ravi Bhavnani

                          (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

                          My 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

                          N Offline
                          N Offline
                          Nemanja Trifunovic
                          wrote on last edited by
                          #13

                          Ravi Bhavnani wrote:

                          What would you name an object that controls a collection of FooManagers?

                          FooManagerController

                          Programming Blog utf8-cpp

                          R 1 Reply Last reply
                          0
                          • R Ravi Bhavnani

                            (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

                            My 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

                            T Offline
                            T Offline
                            The Nightcoder
                            wrote on last edited by
                            #14

                            If you follow the conventions used in the .NET Framework: class name: FooManagerCollection. property name: FooManagers (for a property that returns a FooManagerCollection). By using the suffix "Collection", you're also indicating that the class behaves like a collection, so you might want to base it on CollectionBase. As that class predates generics, you might also want to implement ICollection<FooManager> and IList<FooManager> (this may happen automagically with CollectionBase now - I actually never tested that - but I suspect not).

                            -- Peter

                            R 1 Reply Last reply
                            0
                            • N Nemanja Trifunovic

                              Ravi Bhavnani wrote:

                              What would you name an object that controls a collection of FooManagers?

                              FooManagerController

                              Programming Blog utf8-cpp

                              R Offline
                              R Offline
                              Ravi Bhavnani
                              wrote on last edited by
                              #15

                              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

                              1 Reply Last reply
                              0
                              • T The Nightcoder

                                If you follow the conventions used in the .NET Framework: class name: FooManagerCollection. property name: FooManagers (for a property that returns a FooManagerCollection). By using the suffix "Collection", you're also indicating that the class behaves like a collection, so you might want to base it on CollectionBase. As that class predates generics, you might also want to implement ICollection<FooManager> and IList<FooManager> (this may happen automagically with CollectionBase now - I actually never tested that - but I suspect not).

                                -- Peter

                                R Offline
                                R Offline
                                Ravi Bhavnani
                                wrote on last edited by
                                #16

                                PeterTheSwede wrote:

                                FooManagerCollection

                                Actually it's not a collection. Foo, FooManager and a FooManagerController (the name I originally came up with) are all processes in a distributed system. /ravi

                                My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                                T 1 Reply Last reply
                                0
                                • R Ravi Bhavnani

                                  (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

                                  My 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

                                  P Offline
                                  P Offline
                                  PIEBALDconsult
                                  wrote on last edited by
                                  #17

                                  DasFoohrer!

                                  R 1 Reply Last reply
                                  0
                                  • R Ravi Bhavnani

                                    PeterTheSwede wrote:

                                    FooManagerCollection

                                    Actually it's not a collection. Foo, FooManager and a FooManagerController (the name I originally came up with) are all processes in a distributed system. /ravi

                                    My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                                    T Offline
                                    T Offline
                                    The Nightcoder
                                    wrote on last edited by
                                    #18

                                    Right. I second the FooManagerController suggestion then. Although some of the other suggestions are clearly more fun. Why not FooBar? It has a nostalgic ring to it...

                                    -- Peter

                                    R 1 Reply Last reply
                                    0
                                    • R Ravi Bhavnani

                                      (This is not a programming question). 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? [edit] Foo, FooManager and the manager of FooManagers 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, /ravi

                                      My 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

                                      R Offline
                                      R Offline
                                      R Giskard Reventlov
                                      wrote on last edited by
                                      #19

                                      FooFoo :-) I must admit that sounded funnier in my head than it looks in print. Oh well.

                                      me, me, me

                                      1 Reply Last reply
                                      0
                                      • T The Nightcoder

                                        Right. I second the FooManagerController suggestion then. Although some of the other suggestions are clearly more fun. Why not FooBar? It has a nostalgic ring to it...

                                        -- Peter

                                        R Offline
                                        R Offline
                                        Ravi Bhavnani
                                        wrote on last edited by
                                        #20

                                        PeterTheSwede wrote:

                                        Why not FooBar?

                                        Actually that's the name of one of my products[^]. :) /ravi

                                        My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                                        T C 2 Replies Last reply
                                        0
                                        • P PIEBALDconsult

                                          DasFoohrer!

                                          R Offline
                                          R Offline
                                          realJSOP
                                          wrote on last edited by
                                          #21

                                          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

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups