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

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

    FooDepartmentHead? FooDirector? FooVicePresident?

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

    1 Reply Last reply
    0
    • P Pete OHanlon

      jhaga wrote:

      FooManagerManager

      Is that FooManagerSquared, or FooManagerToThePowerOfTwo, or worse still FooCEO?

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

      My blog | My articles

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

      FooCEO is remarkably close to one of my rejects: FookUp

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

      P 1 Reply Last reply
      0
      • T The Nightcoder

        fat_boy wrote:

        And just what does 'Foo' mean anyway? You probably dont knmow, and you just use it because you think it makes you look cool because you read it in some crappy SW book written by an American, because, god knows, only an American would ever use it anyway.

        Foo is one of the most revered and ancient placeholder names ever used in computer science, along with its friend Bar (occasionally they join to become The Mighty FooBar). Using it shows experience and literacy (and/or age, possibly - which also calls for respect). What it means? That has been the subject of much musing in the industry... as has its origins. Google for "jargon file" for one particularly well-written attempt at enlightenment (also discusses the possible relation to fubar).

        fat_boy wrote:

        f*** I hate computer nerdyness.

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

        -- Peter

        V Offline
        V Offline
        Vikram A Punathambekar
        wrote on last edited by
        #68

        PeterTheSwede wrote:

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

        Trolling endlessly on Global Warming. Stay away from the soapbox.

        Cheers, Vikram.


        The hands that help are holier than the lips that pray.

        1 Reply Last reply
        0
        • T The Nightcoder

          fat_boy wrote:

          And just what does 'Foo' mean anyway? You probably dont knmow, and you just use it because you think it makes you look cool because you read it in some crappy SW book written by an American, because, god knows, only an American would ever use it anyway.

          Foo is one of the most revered and ancient placeholder names ever used in computer science, along with its friend Bar (occasionally they join to become The Mighty FooBar). Using it shows experience and literacy (and/or age, possibly - which also calls for respect). What it means? That has been the subject of much musing in the industry... as has its origins. Google for "jargon file" for one particularly well-written attempt at enlightenment (also discusses the possible relation to fubar).

          fat_boy wrote:

          f*** I hate computer nerdyness.

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

          -- Peter

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

          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

          K T 2 Replies Last reply
          0
          • M Member 96

            For the most part he's the village idiot but I do agree with a dislike of nerdiness for nerdiness sake, if there as a CodeProject for people who own their own business and write the software I'd be there a lot talking about getting things done.


            "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
            #70

            John C wrote:

            For the most part he's the village idiot

            Do you really take it so seriously?

            John C wrote:

            I do agree with a dislike of nerdiness for nerdiness sake, if there as a CodeProject for people who own their own business and write the software I'd be there a lot talking about getting things done.

            Agree.

            Morality is indistinguishable from social proscription

            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

              M Offline
              M Offline
              Maidomax
              wrote on last edited by
              #71

              FooUberlord FooOverlord would be okay too.

              bling bling

              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
                MRLacey
                wrote on last edited by
                #72

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

                R G 2 Replies Last reply
                0
                • M MRLacey

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

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

                  MRLacey wrote:

                  Objects shouldn't control other objects.

                  Are you completely unfamiliar with the concept of design patterns? /ravi

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

                  M 1 Reply Last reply
                  0
                  • D daniilzol

                    FooCEO?

                    G Offline
                    G Offline
                    grgran
                    wrote on last edited by
                    #74

                    Tish, tish ... don't you mean fooCIO ... after all what if he wants to create a class that manages a collection of fooCIO objects ? ;-)

                    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

                      S Offline
                      S Offline
                      SyntaxC4 0
                      wrote on last edited by
                      #75

                      I'd say FooManagerCollection, or even FooManagerFactory.

                      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
                        cjdunford
                        wrote on last edited by
                        #76

                        What's wrong with 'FooManagers'? There's a nice little convention (I first noticed it in VB though it undoubtedly started somewhere else) that if class A is a collection of class B objects, the name for class A is simply the plural of the name of class B. So, an 'Items' object is a collection of 'Item' objects. Items[i] is--an Item. Simple, obvious, works in most cases.

                        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
                          JasonCordes
                          wrote on last edited by
                          #77

                          A manager of managers. Good question. I would be penchant for something like FooSupervisor or MCP (for those Tron geeks out there).

                          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

                            B Offline
                            B Offline
                            brian8655
                            wrote on last edited by
                            #78

                            I don't know what kind of data structures you are using, but somewhere in there I hope you have a queue. Even if you don't need it, how can you resist creating an object named FooQueue?

                            Brian ----------------------------------------------- Never try to reason the prejudice out of a man. It was not reasoned into him, and cannot be reasoned out. - Sydney Smith (1771 - 1845) If we were to wake up some morning and find that everyone was the same race, creed and color, we would find some other cause for prejudice by noon. - George Aiken

                            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

                              B Offline
                              B Offline
                              BillWoodruff
                              wrote on last edited by
                              #79

                              an object that controls a collection of FooManagers? Dear Ravi, May I suggest : MoFoManager MotherOfAllFoos FooManagerHerder If you are a Hindi speaker, may I suggest : AndherNagreeChauputRajah best, Bill

                              "The greater the social and cultural distances between people, the more magical the light that can spring from their contact." Milan Kundera in Testaments Trahis

                              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
                                tonyS10024
                                wrote on last edited by
                                #80

                                MrPresident

                                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
                                  destynova
                                  wrote on last edited by
                                  #81

                                  FooManagerManager would be consistent :P This is one of the things that always makes me a little uncomfortable and not satsified when writing big programs in Java. Perhaps an issue with OO in general, having large, empty hierarchies of classes... unless there is compelling logic happening at each level. It gets really tedious if you're unit-testing everything you write, and you realise you need to build something like this.

                                  1 Reply Last reply
                                  0
                                  • L Lost User

                                    leckey wrote:

                                    Foo Fighters

                                    I said that much further up the thread and without the space in the name. I wonder if people will like now that you have suggested it, noone liked it when I did.

                                    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

                                    R Offline
                                    R Offline
                                    rastaVnuce
                                    wrote on last edited by
                                    #82

                                    Oh, we're fishing for class name compliments, are we? :)

                                    To hell with circumstances; I create opportunities.

                                    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
                                      Rick Shaub
                                      wrote on last edited by
                                      #83

                                      FooManagerManager (FooMgrMgr for short)? FooManagerPlusPlus? FooDirector? If you create a new Manager for your FooDirector, it could be named FooVP.

                                      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
                                        KramII
                                        wrote on last edited by
                                        #84

                                        One or all of the following: FooFooManager LordOfAllFooManagers FooAlmighty FooOfFoos HisGreatFooness TheGreatFooInTheSky Ralph

                                        KramII

                                        R 1 Reply Last reply
                                        0
                                        • B brian8655

                                          I don't know what kind of data structures you are using, but somewhere in there I hope you have a queue. Even if you don't need it, how can you resist creating an object named FooQueue?

                                          Brian ----------------------------------------------- Never try to reason the prejudice out of a man. It was not reasoned into him, and cannot be reasoned out. - Sydney Smith (1771 - 1845) If we were to wake up some morning and find that everyone was the same race, creed and color, we would find some other cause for prejudice by noon. - George Aiken

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

                                          brian8655 wrote:

                                          an object named FooQueue?

                                          Already suggested. :) /ravi

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

                                          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