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. The importance of naming

The importance of naming

Scheduled Pinned Locked Moved The Lounge
help
5 Posts 5 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.
  • C Offline
    C Offline
    chriselst
    wrote on last edited by
    #1

    We have a system, let us call it Brian. Brian has a Windows service that communicates between two other systems, let us call them Emma and Jim. This service that is part of Brian has been called EmmaJim. EmmaJim fell over today, an incident was raised, the problem was resolved. I am responsible for Jim, Jim is my baby, I suddenly realised when I saw the incident report, the genius that the name EmmaJim was for the developers of Brian, and mentioned this to them. All anyone knew at this point was that data was not getting to Emma, and when they get told that EmmaJim had caused a problem they would assume it was either Emma or Jim that was an issue and ignore Brian completely. Sure enough, a resolution notice went around minutes later "An issue was identified with a service within Jim".

    Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.

    L R Sander RosselS 3 Replies Last reply
    0
    • C chriselst

      We have a system, let us call it Brian. Brian has a Windows service that communicates between two other systems, let us call them Emma and Jim. This service that is part of Brian has been called EmmaJim. EmmaJim fell over today, an incident was raised, the problem was resolved. I am responsible for Jim, Jim is my baby, I suddenly realised when I saw the incident report, the genius that the name EmmaJim was for the developers of Brian, and mentioned this to them. All anyone knew at this point was that data was not getting to Emma, and when they get told that EmmaJim had caused a problem they would assume it was either Emma or Jim that was an issue and ignore Brian completely. Sure enough, a resolution notice went around minutes later "An issue was identified with a service within Jim".

      Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.

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

      great Scott!

      Message Signature (Click to edit ->)

      R 1 Reply Last reply
      0
      • L Lost User

        great Scott!

        Message Signature (Click to edit ->)

        R Offline
        R Offline
        Rage
        wrote on last edited by
        #3

        Shirley it was Brian's fault.

        1 Reply Last reply
        0
        • C chriselst

          We have a system, let us call it Brian. Brian has a Windows service that communicates between two other systems, let us call them Emma and Jim. This service that is part of Brian has been called EmmaJim. EmmaJim fell over today, an incident was raised, the problem was resolved. I am responsible for Jim, Jim is my baby, I suddenly realised when I saw the incident report, the genius that the name EmmaJim was for the developers of Brian, and mentioned this to them. All anyone knew at this point was that data was not getting to Emma, and when they get told that EmmaJim had caused a problem they would assume it was either Emma or Jim that was an issue and ignore Brian completely. Sure enough, a resolution notice went around minutes later "An issue was identified with a service within Jim".

          Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.

          R Offline
          R Offline
          RickZeeland
          wrote on last edited by
          #4

          Yes, Life of Brian is not the easiest :-\

          1 Reply Last reply
          0
          • C chriselst

            We have a system, let us call it Brian. Brian has a Windows service that communicates between two other systems, let us call them Emma and Jim. This service that is part of Brian has been called EmmaJim. EmmaJim fell over today, an incident was raised, the problem was resolved. I am responsible for Jim, Jim is my baby, I suddenly realised when I saw the incident report, the genius that the name EmmaJim was for the developers of Brian, and mentioned this to them. All anyone knew at this point was that data was not getting to Emma, and when they get told that EmmaJim had caused a problem they would assume it was either Emma or Jim that was an issue and ignore Brian completely. Sure enough, a resolution notice went around minutes later "An issue was identified with a service within Jim".

            Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.

            Sander RosselS Offline
            Sander RosselS Offline
            Sander Rossel
            wrote on last edited by
            #5

            Naming is everything! I recently helped someone with a piece of code. He just created a database table that day, orderdates or something like that, and needed to fill it with product ids. So my code goes like:

            var dates = context.orderdates.Where(...); // Actually it was VB, but I will spare you all and make a rough translation.

            He goes "well, actually they're not dates, but orders..." Alright, unexpected, but I change var dates to var orders. Then, an orderdate should have an orderlinenr, so I ask him if with orderlinenr he meant indexnr because I didn't have any other properties besides productnr and subproductnr. He "thought" they were, but he wasn't completely sure. He created that table just that afternoon, but his own naming confused even him after only a few hours :doh: His best programming buddy keeps variables in hidden text boxes on forms X| The scary part is that this guy has always delivered working software (but woe the poor sod who has to update or maintain it) within budget, where others ("professional" companies) have failed to deliver completely even when going far above budget :wtf:

            Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

            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