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. Other Discussions
  3. The Back Room
  4. Name Fussiness Again

Name Fussiness Again

Scheduled Pinned Locked Moved The Back Room
question
25 Posts 10 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.
  • M martin_hughes

    Why in the soapbox? Anyway, name the common elements something (ie BradysFormat) and then call it a Writer as in BradyFormatWriter.

    S Offline
    S Offline
    Shog9 0
    wrote on last edited by
    #8

    martin_hughes wrote:

    Why in the soapbox?

    The Soapbox is the new Lounge, now that The Lounge has become the new Soapbox. Didn't you get the memo?

    Citizen 20.1.01

    'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

    M O 2 Replies Last reply
    0
    • B Brady Kelly

      I got carried away on an architecture joy-ride way off scope.  The objects I'm making actually control the export engines in a test environment, so I've gone with ExportTesterBase, ExportWizard5_2Tester, NewExportEngineTester etc.  I've been told to test the exports first, manually if necessary, before spending too much time on this elaborate trickster of a test framework.  I can return to this monster and do some nice, zen like and asthetic refactoring once I've done the tests.

      Pits fall into Chuck Norris.

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #9

      Why not put 'em all in a namespace? Name it ExportEngines, and then leave both of those words out of the actual class names, which can then reflect what actually distinguishes them from each other.

      Citizen 20.1.01

      'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

      1 Reply Last reply
      0
      • S Shog9 0

        martin_hughes wrote:

        Why in the soapbox?

        The Soapbox is the new Lounge, now that The Lounge has become the new Soapbox. Didn't you get the memo?

        Citizen 20.1.01

        'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

        M Offline
        M Offline
        martin_hughes
        wrote on last edited by
        #10

        Nah, I "filed" it :)

        1 Reply Last reply
        0
        • C Chris Meech

          One of my libraries has a class called ExtractEngine. All the data buffer and file handling methods reside there. I couldn't think of a better name. :)

          Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] Donate to help Conquer Cancer[^]

          I Offline
          I Offline
          Ilion
          wrote on last edited by
          #11

          Chris Meech wrote:

          One of my libraries has a class called ExtractEngine.

          And for bi-directional (and a more "organic") data transfer: PushMePullYou[^] :-O ["PushMePullMe"]

          modified on Friday, May 9, 2008 5:00 PM

          P 1 Reply Last reply
          0
          • B Brady Kelly

            I am designing a set of objects that perform the same data export task, but differ in versions, or implementation.  They share fixed, common aspects I think fit well in a base class.  I'm having trouble naming these objects; the best I've got so far is ExportEngine, Exporter just doesn't seem right.  Any suggestions?

            Pits fall into Chuck Norris.

            D Offline
            D Offline
            DRHuff
            wrote on last edited by
            #12

            I would call it 'i'. Unless that conflicts with another class - then I would call it 'ii' or maybe 'j'. These names have served me in good stead since at least the early 80's. :-D

            I'm pretty sure I would not like to live in a world in which I would never be offended. I am absolutely certain I don't want to live in a world in which you would never be offended. Dave

            1 Reply Last reply
            0
            • I Ilion

              Chris Meech wrote:

              One of my libraries has a class called ExtractEngine.

              And for bi-directional (and a more "organic") data transfer: PushMePullYou[^] :-O ["PushMePullMe"]

              modified on Friday, May 9, 2008 5:00 PM

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

              Shouldn't that be PushMePullYou[^]?

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

              My blog | My articles

              I 1 Reply Last reply
              0
              • B Brady Kelly

                I am designing a set of objects that perform the same data export task, but differ in versions, or implementation.  They share fixed, common aspects I think fit well in a base class.  I'm having trouble naming these objects; the best I've got so far is ExportEngine, Exporter just doesn't seem right.  Any suggestions?

                Pits fall into Chuck Norris.

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

                Sounds like you need an ExporterFactory, or possibly an ExporterProvider and ExporterProviderBase.

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

                My blog | My articles

                I B 2 Replies Last reply
                0
                • P Pete OHanlon

                  Shouldn't that be PushMePullYou[^]?

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

                  My blog | My articles

                  I Offline
                  I Offline
                  Ilion
                  wrote on last edited by
                  #15

                  Probably (and a much better name that is). I know of the Dr Doolittle oeuvre only indirectly.

                  1 Reply Last reply
                  0
                  • P Pete OHanlon

                    Sounds like you need an ExporterFactory, or possibly an ExporterProvider and ExporterProviderBase.

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

                    My blog | My articles

                    I Offline
                    I Offline
                    Ilion
                    wrote on last edited by
                    #16

                    and a LongshoreMenUnion and a WarehouseUnion

                    P 1 Reply Last reply
                    0
                    • S Shog9 0

                      martin_hughes wrote:

                      Why in the soapbox?

                      The Soapbox is the new Lounge, now that The Lounge has become the new Soapbox. Didn't you get the memo?

                      Citizen 20.1.01

                      'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                      O Offline
                      O Offline
                      Oakman
                      wrote on last edited by
                      #17

                      Shog9 wrote:

                      The Soapbox is the new Lounge, now that The Lounge has become the new Soapbox. Didn't you get the memo?

                      I was thinking of sending one out - did you write one already?

                      Jon Smith & Wesson: The original point and click interface

                      C S 2 Replies Last reply
                      0
                      • I Ilion

                        and a LongshoreMenUnion and a WarehouseUnion

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

                        Ilíon wrote:

                        and a LongshoreMenUnion and a WarehouseUnion

                        :laugh: You know, I read that as WhorehouseUnion. I hadn't realised that prostitues had formed a union.

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

                        My blog | My articles

                        O 1 Reply Last reply
                        0
                        • O Oakman

                          Shog9 wrote:

                          The Soapbox is the new Lounge, now that The Lounge has become the new Soapbox. Didn't you get the memo?

                          I was thinking of sending one out - did you write one already?

                          Jon Smith & Wesson: The original point and click interface

                          C Offline
                          C Offline
                          ChrisKo 0
                          wrote on last edited by
                          #19

                          Don't forget the new cover sheet.

                          1 Reply Last reply
                          0
                          • O Oakman

                            Shog9 wrote:

                            The Soapbox is the new Lounge, now that The Lounge has become the new Soapbox. Didn't you get the memo?

                            I was thinking of sending one out - did you write one already?

                            Jon Smith & Wesson: The original point and click interface

                            S Offline
                            S Offline
                            Shog9 0
                            wrote on last edited by
                            #20

                            Oakman wrote:

                            I was thinking of sending one out - did you write one already?

                            Yes, i posted it in The Lounge last night. A Soapboxy rant, full of rambling stories, dubious correlations, and tales of substance abuse. :-\

                            Citizen 20.1.01

                            'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                            O 1 Reply Last reply
                            0
                            • S Shog9 0

                              Oakman wrote:

                              I was thinking of sending one out - did you write one already?

                              Yes, i posted it in The Lounge last night. A Soapboxy rant, full of rambling stories, dubious correlations, and tales of substance abuse. :-\

                              Citizen 20.1.01

                              'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                              O Offline
                              O Offline
                              Oakman
                              wrote on last edited by
                              #21

                              Shog9 wrote:

                              A Soapboxy rant, full of rambling stories, dubious correlations, and tales of substance abuse.

                              I thought that was your next novel! :doh:

                              Jon Smith & Wesson: The original point and click interface

                              1 Reply Last reply
                              0
                              • P Pete OHanlon

                                Ilíon wrote:

                                and a LongshoreMenUnion and a WarehouseUnion

                                :laugh: You know, I read that as WhorehouseUnion. I hadn't realised that prostitues had formed a union.

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

                                My blog | My articles

                                O Offline
                                O Offline
                                Oakman
                                wrote on last edited by
                                #22

                                Pete O'Hanlon wrote:

                                I hadn't realised that prostitues had formed a union.

                                International Union of Sex Workers "Workers of the world, unite and fight! You have nothing to lose but your er...uh..."

                                Jon Smith & Wesson: The original point and click interface

                                1 Reply Last reply
                                0
                                • B Brady Kelly

                                  I am designing a set of objects that perform the same data export task, but differ in versions, or implementation.  They share fixed, common aspects I think fit well in a base class.  I'm having trouble naming these objects; the best I've got so far is ExportEngine, Exporter just doesn't seem right.  Any suggestions?

                                  Pits fall into Chuck Norris.

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

                                  'John'is always a good startng point. You can develope from this 'big John', 'fat John' and so on describing objects with names that, even if they dont describe exactly what their function is, do at least make them familiar, which is half the battle.

                                  Morality is indistinguishable from social proscription

                                  1 Reply Last reply
                                  0
                                  • M martin_hughes

                                    Why in the soapbox? Anyway, name the common elements something (ie BradysFormat) and then call it a Writer as in BradyFormatWriter.

                                    B Offline
                                    B Offline
                                    Brady Kelly
                                    wrote on last edited by
                                    #24

                                    martin_hughes wrote:

                                    Why in the soapbox?

                                    Sorry, I thought I was in the lounge. :-O

                                    Pits fall into Chuck Norris.

                                    1 Reply Last reply
                                    0
                                    • P Pete OHanlon

                                      Sounds like you need an ExporterFactory, or possibly an ExporterProvider and ExporterProviderBase.

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

                                      My blog | My articles

                                      B Offline
                                      B Offline
                                      Brady Kelly
                                      wrote on last edited by
                                      #25

                                      Thanks Pete, I think I'll go with ExportTestProvider, as the class uses an Export class to perform test exports.

                                      Pits fall into Chuck Norris.

                                      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