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

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

                            J Offline
                            J Offline
                            Joan M
                            wrote on last edited by
                            #25

                            FooFiFaFum!

                            [www.tamelectromecanica.com][www.tam.cat]

                            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

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

                              PeterTheSwede wrote:

                              Ummmm... I think the CP community just killed your server... scalability issues, anyone?

                              Nah... DNS lookup failure - route66.net name servers seem down. Not your fault (?).

                              -- Peter

                              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
                                martin_hughes
                                wrote on last edited by
                                #27

                                What you talkin' about' Foo'?

                                C 1 Reply Last reply
                                0
                                • T Tim Deveaux

                                  FooQueue? :-O

                                  P Offline
                                  P Offline
                                  peterchen
                                  wrote on last edited by
                                  #28

                                  That's a real gem with english pronounciation of "queue"! :laugh:

                                  We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                                  blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist

                                  1 Reply Last reply
                                  0
                                  • R Ravi Bhavnani

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

                                    Ravi Bhavnani wrote:

                                    Next to my 5 volumes of Knuth!

                                    OMG! I only have three (Sorting&Searching being the only one I frequently refer to). Coolness!

                                    -- Peter

                                    R 1 Reply Last reply
                                    0
                                    • M martin_hughes

                                      What you talkin' about' Foo'?

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

                                      PityTheFoo

                                      image processing toolkits | batch image processing

                                      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
                                        Member 96
                                        wrote on last edited by
                                        #31

                                        You all bitch and moan when someone posts a programming question here, I point out quite rightly that we have a design forum and you vote me down and proceed to answer Ravi. Away and raffle your donuts! :mad:


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

                                        T R C D T 5 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
                                          leckey 0
                                          wrote on last edited by
                                          #32

                                          If no one has said it yet, Foo Fighters. Or foosfoos. Or foosball.

                                          Shhhhh..... http://craptasticnation.blogspot.com/[^]

                                          L 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