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

    P Offline
    P Offline
    patbob
    wrote on last edited by
    #92

    What's a foo? If you're using "foo" as a name for something in production code, I think you have bigger problems than what to call a foo object manager manager. Might as well call it "bar", after all, you'd be hard pressed to obsfucate your code further. Besides, changing class names is a low risk operation, so don't fret over it. D'oh! Nevermind. Haven't had my coffee yet :) Overseer? UberManager? OverLord (that one's always fun)? Controller? Foreman? Container?

    patbob

    modified on Friday, May 23, 2008 12:17 PM

    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

      W Offline
      W Offline
      wcwhite
      wrote on last edited by
      #93

      Try FooManMeta -- Bill White

      1 Reply Last reply
      0
      • P patbob

        What's a foo? If you're using "foo" as a name for something in production code, I think you have bigger problems than what to call a foo object manager manager. Might as well call it "bar", after all, you'd be hard pressed to obsfucate your code further. Besides, changing class names is a low risk operation, so don't fret over it. D'oh! Nevermind. Haven't had my coffee yet :) Overseer? UberManager? OverLord (that one's always fun)? Controller? Foreman? Container?

        patbob

        modified on Friday, May 23, 2008 12:17 PM

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

        patbob wrote:

        What's a foo?

        Serves me right for posting a design related question in the Lounge. :sigh: /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

          C Offline
          C Offline
          coding4ever
          wrote on last edited by
          #95

          fooBAR perhaps?

          R 1 Reply Last reply
          0
          • C coding4ever

            fooBAR perhaps?

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

            tim-miller wrote:

            fooBAR perhaps?

            Clickety[^] :) /ravi

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

            1 Reply Last reply
            0
            • M Member 96

              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 Offline
              T Offline
              Trevortni
              wrote on last edited by
              #97

              Maybe we need a naming forum?

              M 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

                K Offline
                K Offline
                keslavi
                wrote on last edited by
                #98

                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?

                how about FooDirector or FooController (apologies to MVC)? or redefining the level you call something a manager so that that: FooMgr | |FooCollection, FooCol, FooSum, or Foos (yes, plurals are usually a no-no). | | | | Foo, FooItem, or FooDet | | | | Foo | | |FooCollection | | | | Foo | | Foo or you could design the whole Foo to be recursive, such as in System.Collections.Specialized.NameValueCollection, whereby the uppermost level item becomes the parent, or 'manager'. moving to Parent/Child removes the whole Manager concept; that's how the Http Request object is structured. and if that doesn't cover it then this post is probably FooBar :-\

                R 1 Reply Last reply
                0
                • K keslavi

                  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?

                  how about FooDirector or FooController (apologies to MVC)? or redefining the level you call something a manager so that that: FooMgr | |FooCollection, FooCol, FooSum, or Foos (yes, plurals are usually a no-no). | | | | Foo, FooItem, or FooDet | | | | Foo | | |FooCollection | | | | Foo | | Foo or you could design the whole Foo to be recursive, such as in System.Collections.Specialized.NameValueCollection, whereby the uppermost level item becomes the parent, or 'manager'. moving to Parent/Child removes the whole Manager concept; that's how the Http Request object is structured. and if that doesn't cover it then this post is probably FooBar :-\

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

                  Thanks. I think many folks are missing the point that Foo and FooManager aren't vanilla objects, but running services; hence the need to be able to actively "manage" (rather than simply aggregate) these entities. I've decided to go with my original choice of FooManagerController, which while quite a tongue twister, explicitly conveys that it controls one or more FooManager instances. /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

                    E Offline
                    E Offline
                    erikest
                    wrote on last edited by
                    #100

                    That's Foony, I've been reading these posts when it occured to me how Foocking ridiculous people can be and how Foor they can take things. Foormally, I've foound that my foondest memories have been when I foollowed my heart and struck out on my own. However, this has resulted in my biggest foolures and foollies. Now I'm beginning to realize that I was just fooling myself and that the true foon in life is in foollowing the great ideas of others and fooguring out a way to make them even more foontastic. Just a foought foorom a fooriend here at code project. Don't foorget the lesson I've learned and you will lead a foofulling life, too. Foorever, -Erik

                    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

                      C Offline
                      C Offline
                      chaiguy1337
                      wrote on last edited by
                      #101

                      Lol well at least it actually is a bar. ;)

                      “Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’)            Built with home-grown CodeProject components! -”-”-

                      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

                        C Offline
                        C Offline
                        chaiguy1337
                        wrote on last edited by
                        #102

                        FooManagerSquared? :)

                        “Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’)            Built with home-grown CodeProject components! -”-”-

                        1 Reply Last reply
                        0
                        • C chaiguy1337

                          Lol well at least it actually is a bar. ;)

                          “Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’)            Built with home-grown CodeProject components! -”-”-

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

                          logan1337 wrote:

                          at least it actually is a bar.

                          Hence the name. :) /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 Trevortni

                            Maybe we need a naming forum?

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

                            We have one already: http://www.codeproject.com/script/Forums/View.aspx?fid=369270[^]


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

                            1 Reply Last reply
                            0
                            • M Member 96

                              fat_boy wrote:

                              John C wrote: For the most part he's the village idiot Do you really take it so seriously?

                              Sorry, that was a little harsh, I should have said *one of* the village idiots, there's at least a dozen I'm sure if I added them all up. ;)


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

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

                              OK, you do take it seriously. Enjoy yourself!

                              Morality is indistinguishable from social proscription

                              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
                                #106

                                It is Foo class

                                1 Reply Last reply
                                0
                                • G Gary R Wheeler

                                  FooCEO is remarkably close to one of my rejects: FookUp

                                  Software Zen: delete this;
                                  Fold With Us![^]

                                  P Offline
                                  P Offline
                                  Pete OHanlon
                                  wrote on last edited by
                                  #107

                                  Gary R. Wheeler wrote:

                                  FooCEO is remarkably close to one of my rejects: FookUp

                                  Have you considered going with FooQueue (go on, say it out loud - it makes sense then).

                                  Deja View - the feeling that you've seen this post before.

                                  My blog | My articles

                                  1 Reply Last reply
                                  0
                                  • M MRLacey

                                    I wouldn't. Go back and create an OO design. Objects shouldn't control other objects.

                                    G Offline
                                    G Offline
                                    Gary R Wheeler
                                    wrote on last edited by
                                    #108

                                    If objects shouldn't control other objects, then what the hell good are they? You just write little objects and say: "See what pretty code I made?" Good grief.

                                    Software Zen: delete this;
                                    Fold With Us![^]

                                    M 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 Cake of Deceit
                                      wrote on last edited by
                                      #109

                                      A FooManagerManager?

                                      I'd been called 'ugly', 'pug ugly', 'fugly', 'pug fugly' but never 'ugly ugly'. - Moe Szyslak

                                      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
                                        mejojo
                                        wrote on last edited by
                                        #110

                                        FooBartender

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          PeterTheSwede wrote:

                                          Foo is one ...

                                          Exactly. So just why does an American WW2 military acronym find get used by nerdy computer programers? Did the first programmers come form 101 airborn? Makes me want to puke!

                                          PeterTheSwede wrote:

                                          Using it shows experience and literacy (and/or age, possibly - which also calls for respect).

                                          That is exactly my point. Its used purely to atempt to appear more 'expert' or whatever despite the fact the user most likely isnt.

                                          PeterTheSwede wrote:

                                          So what exactly are you doing on a computer programming site?

                                          Sorry, did CP become the home of nerds? I thought it was for software engineers? h, by the way, I was in mechanical engineering for many years before switching to software engineering, so I have many traits of a mechanical engineer, I like beer and cars for example, and not those of a typical software engineer.

                                          Morality is indistinguishable from social proscription

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

                                          fat_boy wrote:

                                          h, by the way, I was in mechanical engineering for many years before switching to software engineering, so I have many traits of a mechanical engineer, I like beer and cars for example, and not those of a typical software engineer.

                                          Well, that sounds a lot like me and most of the software engineers I've ever met, actually. You didn't mention bikes. I'm currently trying to make my mind up whether to buy a Honda VFR or a Ducati ST2 for this season... or something completely different. Still using my 25 years old 400cc "refresher" (winter is nine months in Sweden, so we basically have to learn how to ride again each spring - it's good to have something basic in the garage to do the refresh training on when the early spring weather permits), but it won't go beyond 150 km/h (not even that unless pushed into the red) and while that was still fun a couple of weeks ago, it's getting old now. And my left foot is getting oily - a crank case gasket wants attention, and I don't want to crack the thing open until I have something else to ride. So it's time to make a choice. Any suggestions? And no - no Harleys or similar... Swedish roads have curves. A whole lot of them... :-) However, nerdiness seems to come with the territory (or territories - most of my friends back when I studied mechanical engineering were definitely nerds - those who weren't invariably failed the math and eventually dropped out). Of course, it's not a virtue to strive for, it just sort of happens. In my case it came from being a bit to interested in math, physics and mechanics back in school than was generally accepted by those unable to grasp the subjects (soccer and bullying others around were the acceptable interests, and the conformist bunch tended to stick to them). Then again, I'm a Swede, and may not fully grasp all the nuances of the word "nerd"... :-O As for "foo" and "bar": I picked them up from K&R about 25 years ago and didn't have a clue about where they got them from. I tend to use them now and then out of habit (instead of wasting time inventing my own dummy names). It started out when I did some time as an assistant teacher in programming at the university (or numerical algorithms to be precise - it was in the mechanical engineering department). I wouldn't dream of using them just to make a point of using them. That would be utterly ridiculous... and I much suspect the OP would think so too. Why I spend so much time (yes, writing even this amount of

                                          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