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. Names for things

Names for things

Scheduled Pinned Locked Moved The Lounge
sysadminagentic-aibusinessquestion
26 Posts 18 Posters 1 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.
  • L Lost User

    I think you've already asked this question[^] in the Q&A long back.

    N Offline
    N Offline
    Nagy Vilmos
    wrote on last edited by
    #14

    [0] This ain't a question. [1] Same component, different issue.

    1 Reply Last reply
    0
    • N Nagy Vilmos

      This is really bugging me. I'm building a component that is basically a message broker. The broker has a set of services, which in turn have agents for different messages that are actually dealt with by plug in process components. I'm happy with the way it sits together, but I am not happy with the names I have: - Broker = top level component. It was called Server, but that doesn't sit with Service - Service = logical grouping of message agents that can talk directly to each other [there is a separate protocol for out of server interfacing] - Agent = handles individual messages including their state - Process = plug-ins to process different messages; this is where all the business logic lives. I just think the names could be better. The whole thing is set up with config, so these names become important; well I think they do. Any suggestions? Go on then, trivialise the whole thing and suggest I just call them John, Paul, George and Ringo.

      P Offline
      P Offline
      phil o
      wrote on last edited by
      #15

      Class1, Class2, Class3 and Class4?

      while (!working) {
      Reboot();
      }

      1 Reply Last reply
      0
      • N Nagy Vilmos

        This is really bugging me. I'm building a component that is basically a message broker. The broker has a set of services, which in turn have agents for different messages that are actually dealt with by plug in process components. I'm happy with the way it sits together, but I am not happy with the names I have: - Broker = top level component. It was called Server, but that doesn't sit with Service - Service = logical grouping of message agents that can talk directly to each other [there is a separate protocol for out of server interfacing] - Agent = handles individual messages including their state - Process = plug-ins to process different messages; this is where all the business logic lives. I just think the names could be better. The whole thing is set up with config, so these names become important; well I think they do. Any suggestions? Go on then, trivialise the whole thing and suggest I just call them John, Paul, George and Ringo.

        S Offline
        S Offline
        S Douglas
        wrote on last edited by
        #16

        Nagy Vilmos wrote:

        Go on then, trivialise the whole thing

        Okay... - Broker = Bar - Service = Bartender - Agent = Waiter - Process = Patron


        Common sense is admitting there is cause and effect and that you can exert some control over what you understand.

        1 Reply Last reply
        0
        • N Nagy Vilmos

          This is really bugging me. I'm building a component that is basically a message broker. The broker has a set of services, which in turn have agents for different messages that are actually dealt with by plug in process components. I'm happy with the way it sits together, but I am not happy with the names I have: - Broker = top level component. It was called Server, but that doesn't sit with Service - Service = logical grouping of message agents that can talk directly to each other [there is a separate protocol for out of server interfacing] - Agent = handles individual messages including their state - Process = plug-ins to process different messages; this is where all the business logic lives. I just think the names could be better. The whole thing is set up with config, so these names become important; well I think they do. Any suggestions? Go on then, trivialise the whole thing and suggest I just call them John, Paul, George and Ringo.

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

          Broker => MessageDispatcher Service => MessageManager Agent => MessageHandler Process => MessageTemplate

          “The best hope is that one of these days the Ground will get disgusted enough just to walk away ~ leaving people with nothing more to stand ON than what they have so bloody well stood FOR up to now.” Kenneth Patchen, Poet

          1 Reply Last reply
          0
          • N Nagy Vilmos

            This is really bugging me. I'm building a component that is basically a message broker. The broker has a set of services, which in turn have agents for different messages that are actually dealt with by plug in process components. I'm happy with the way it sits together, but I am not happy with the names I have: - Broker = top level component. It was called Server, but that doesn't sit with Service - Service = logical grouping of message agents that can talk directly to each other [there is a separate protocol for out of server interfacing] - Agent = handles individual messages including their state - Process = plug-ins to process different messages; this is where all the business logic lives. I just think the names could be better. The whole thing is set up with config, so these names become important; well I think they do. Any suggestions? Go on then, trivialise the whole thing and suggest I just call them John, Paul, George and Ringo.

            J Offline
            J Offline
            jschell
            wrote on last edited by
            #18

            Nagy Vilmos wrote:

            I'm building a component that is basically a message broker....I just think the names could be better

            Like perhaps that it shouldn't be called a "Component"?

            1 Reply Last reply
            0
            • N Nagy Vilmos

              This is really bugging me. I'm building a component that is basically a message broker. The broker has a set of services, which in turn have agents for different messages that are actually dealt with by plug in process components. I'm happy with the way it sits together, but I am not happy with the names I have: - Broker = top level component. It was called Server, but that doesn't sit with Service - Service = logical grouping of message agents that can talk directly to each other [there is a separate protocol for out of server interfacing] - Agent = handles individual messages including their state - Process = plug-ins to process different messages; this is where all the business logic lives. I just think the names could be better. The whole thing is set up with config, so these names become important; well I think they do. Any suggestions? Go on then, trivialise the whole thing and suggest I just call them John, Paul, George and Ringo.

              M Offline
              M Offline
              Marc Clifton
              wrote on last edited by
              #19

              I'm surprised no one came up with this: Broker -> Pimp Service -> Yeah, you keep that as Service Agent -> John Process -> [...] Job Marc

              1 Reply Last reply
              0
              • S Simon Lee Shugar

                You should read The Name of The Wind - By Patrick Rothfuss[^]. The magicians like "Naming" things as they have a talent in the naming of things.

                Simon Lee Shugar (Software Developer) www.simonshugar.co.uk "If something goes by a false name, would it mean that thing is fake? False by nature?" By Gilbert Durandil

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

                Isn't it a great feeling when you find the true name of your graphics processor and it responds when you summon it? :)

                The language is JavaScript. that of Mordor, which I will not utter here
                I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.

                1 Reply Last reply
                0
                • N Nagy Vilmos

                  This is really bugging me. I'm building a component that is basically a message broker. The broker has a set of services, which in turn have agents for different messages that are actually dealt with by plug in process components. I'm happy with the way it sits together, but I am not happy with the names I have: - Broker = top level component. It was called Server, but that doesn't sit with Service - Service = logical grouping of message agents that can talk directly to each other [there is a separate protocol for out of server interfacing] - Agent = handles individual messages including their state - Process = plug-ins to process different messages; this is where all the business logic lives. I just think the names could be better. The whole thing is set up with config, so these names become important; well I think they do. Any suggestions? Go on then, trivialise the whole thing and suggest I just call them John, Paul, George and Ringo.

                  M Offline
                  M Offline
                  Member 9063556
                  wrote on last edited by
                  #21

                  Nagy Vilmos wrote:

                  Go on then, trivialise the whole thing and suggest I just call them John, Paul, George and Ringo.

                  I'm curious as to know why you chose "Ringo" (Translates to Apple as far as I recall) as a name. Basically, Naming conventions need to be clear and concise. When naming Variables that might be confusing I comment them in. BillWoodruff seems to have the same idea I have with naming my handles.

                  Quote:

                  Broker => MessageDispatcher Service => MessageManager Agent => MessageHandler Process => MessageTemplate

                  As you can see, it's simple and concise and it actually works. Easy to understand variables = easy to understand variables.

                  1 Reply Last reply
                  0
                  • N Nagy Vilmos

                    This is really bugging me. I'm building a component that is basically a message broker. The broker has a set of services, which in turn have agents for different messages that are actually dealt with by plug in process components. I'm happy with the way it sits together, but I am not happy with the names I have: - Broker = top level component. It was called Server, but that doesn't sit with Service - Service = logical grouping of message agents that can talk directly to each other [there is a separate protocol for out of server interfacing] - Agent = handles individual messages including their state - Process = plug-ins to process different messages; this is where all the business logic lives. I just think the names could be better. The whole thing is set up with config, so these names become important; well I think they do. Any suggestions? Go on then, trivialise the whole thing and suggest I just call them John, Paul, George and Ringo.

                    G Offline
                    G Offline
                    grralph1
                    wrote on last edited by
                    #22

                    It bugs all of us. No matter if you chose wisely or flippantly, 4 years down the track, you are always going to say WTF or WTE, when doing your recognisance on your old code.

                    "Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980

                    I 1 Reply Last reply
                    0
                    • G grralph1

                      It bugs all of us. No matter if you chose wisely or flippantly, 4 years down the track, you are always going to say WTF or WTE, when doing your recognisance on your old code.

                      "Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980

                      I Offline
                      I Offline
                      irneb
                      wrote on last edited by
                      #23

                      grralph1 wrote:

                      WTE

                      Sorry, not familiar with WTE ... or is that meant to be so?

                      G 1 Reply Last reply
                      0
                      • T Tim Carmichael

                        Broker -> Prime Minister Service -> HouseOfLords Agent -> Mayor Process -> CivilServants Tim

                        S Offline
                        S Offline
                        Simon ORiordan from UK
                        wrote on last edited by
                        #24

                        Broker -> Kyle Service -> PCD Agent -> Scarden Process -> Adult Rehabilitation Centre :-D

                        1 Reply Last reply
                        0
                        • P PIEBALDconsult

                          Nagy Vilmos wrote:

                          John, Paul, George and Ringo

                          Not very exntensible. I used characters from "The Love Boat" once, and eventually had to add parts of the ship.

                          This space intentionally left blank.

                          B Offline
                          B Offline
                          BrainiacV
                          wrote on last edited by
                          #25

                          PIEBALDconsult wrote:

                          I used characters from "The Love Boat"

                          I used to work with this idiot who named all his routines after Disney characters.

                          BALR 8,GOOFY

                          Yeah, S/370 Assembler. Worse yet, the shop I worked at did not believe in comments. "The code tells you what it is doing." Of course it does, but not why. I didn't stay more than a year there, writing code they couldn't understand nor appreciate because it far more advanced than what they were doing. Even though I wrote it with comments. They thought MACROs were only for libraries instead of your applications. One application I did was 70% MACRO generated and that blew their minds. I used variable named register assignments and that messed with their hardwired brains even more.

                          BALR RTN,PRINT

                          Sorry of the rant, I believe names for code are too important and agonize over them as well. I'm not criticizing you either, your comment just triggered a bad memory about bad practices.

                          Psychosis at 10 Film at 11 Those who do not remember the past, are doomed to repeat it. Those who do not remember the past, cannot build upon it.

                          1 Reply Last reply
                          0
                          • I irneb

                            grralph1 wrote:

                            WTE

                            Sorry, not familiar with WTE ... or is that meant to be so?

                            G Offline
                            G Offline
                            grralph1
                            wrote on last edited by
                            #26

                            What the Elephant. (Lounge Speak)

                            "Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980

                            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