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.
  • 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
    • K KramII

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

      KramII

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

      KramII wrote:

      Ralph

      :) /ravi

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

      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

        K Offline
        K Offline
        Krenshau75
        wrote on last edited by
        #87

        "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. " I don't think being a software engineer excludes a person from being "cool". I like shooting assault rifles, classic rock, and racing cars(I used to race cars). I have more geek attributes than nerd attributes (if there is a difference), but I still like "normal" stuff. However, by most accounts I am a geek and I think most software engineers are too. I actually find it more interesting to be around geeks. They aren't all caught up in Berry Bonds steroid use or the Jeff Gordon nascar crash. I prefer discussing how Intel and AMD are scamming consumers by holding back on releasing better technology just so they can get a better return on their R&D, or how OSS is OK, but it will never become what MS has become. I think this is clear. Geeks (nerds) are cool. Everyone else is just boring. :laugh:

        Ben

        L 1 Reply Last reply
        0
        • K Krenshau75

          "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. " I don't think being a software engineer excludes a person from being "cool". I like shooting assault rifles, classic rock, and racing cars(I used to race cars). I have more geek attributes than nerd attributes (if there is a difference), but I still like "normal" stuff. However, by most accounts I am a geek and I think most software engineers are too. I actually find it more interesting to be around geeks. They aren't all caught up in Berry Bonds steroid use or the Jeff Gordon nascar crash. I prefer discussing how Intel and AMD are scamming consumers by holding back on releasing better technology just so they can get a better return on their R&D, or how OSS is OK, but it will never become what MS has become. I think this is clear. Geeks (nerds) are cool. Everyone else is just boring. :laugh:

          Ben

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

          Odd. I am totaly not a geek or a nerd. I like talking about philosophy, telling jokes, politics, food, especially food, but never about computers. For me computers are a job. I like writing device drivers for windows, its very complex, very challenging, but I dont give a toss what the market as a whole is doing elsewhere.

          Morality is indistinguishable from social proscription

          K T T 3 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

            F Offline
            F Offline
            feraudy
            wrote on last edited by
            #89

            UberFoo :-D Henri

            1 Reply Last reply
            0
            • L Lost User

              Odd. I am totaly not a geek or a nerd. I like talking about philosophy, telling jokes, politics, food, especially food, but never about computers. For me computers are a job. I like writing device drivers for windows, its very complex, very challenging, but I dont give a toss what the market as a whole is doing elsewhere.

              Morality is indistinguishable from social proscription

              K Offline
              K Offline
              Krenshau75
              wrote on last edited by
              #90

              OK, this is strangely becoming more like a personals ad. Maybe, you don't feel apart of the geek community, but I do think that for the most part software engineering does attract people that may be considered geeks or nerds. Although, that seems to be mostly an U.S. thing. Outside of the U.S. those people just seem to be considered very smart.

              Ben

              1 Reply Last reply
              0
              • L Lost User

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

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