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 131 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

    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

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

      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

        realJSOPR Offline
        realJSOPR 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

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

            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

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

              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

                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
                    • 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
                      #14

                      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
                      • 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
                        #15

                        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
                        • 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
                          #16

                          DasFoohrer!

                          realJSOPR 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
                            #17

                            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

                              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!

                                    realJSOPR Offline
                                    realJSOPR 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
                                    • R Ravi Bhavnani

                                      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 Offline
                                      T Offline
                                      The Nightcoder
                                      wrote on last edited by
                                      #22

                                      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

                                      R T 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

                                        C Offline
                                        C Offline
                                        Chris Losinger
                                        wrote on last edited by
                                        #23

                                        FooGoo FoosToi

                                        image processing toolkits | batch image processing

                                        1 Reply Last reply
                                        0
                                        • T The Nightcoder

                                          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

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

                                          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

                                          T 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