Tag naming using hyphens

Our client is demanding that we use hyphens and not underscores in tag names. We have pitched our case, one being that the PLC (CLX/CpLx) doesn't allow them and in our minds PLC/SCADA names should match, but they rejected that argument. I understand that Ignition allows hyphens in most places, but I just think it's bad practice and was hoping for some ammunication to streghten our stance. If we are forced to use hyphens, my pitch will be to use in instance names only, not rework all UDTs.

Throughts?

Can you fire them?

(Only halfway joking...)

No, I can't call them names either. I figured you would feel strongly about using hyphens.

My primary objection to hyphens is that the hyphen is an arithmetic operator. Which means you can't use jython names in scripts that match your tag name. (Also true of most other punctuation.) The underscore is the one punctuation character that is explicitly permitted in variable names in every programming language.

Out of curiosity, what is their argument for hyphens?

I have the same misgivings that Phil has. I understand underscores, but I tend to avoid those too. I want a tag name that I can use as a variable name that is somewhat self documenting. I, like you, want to be able to look at the tag name and know what to look for in the PLC.

Is it more than just tag names? If they want component/container names to follow this practice too, might run into some headaches.

They said they want hyphens and to deal with it. In my opinion it's just the wrong people in charge.

Sounds like a bit of a power trip to me.

Maybe, still trying to feel the waters. It might just be they are following standards and don't know why. The reason for this post is to try and gather more info to discuss things intelligently and be more than two groups talking over each other.

This is one of the largest reasons. Makes documentation a nightmare for people coming behind.

Give them a project change notice (or similar) and quote a price they will want to avoid.

If you are still in the initial RFQ show them the charge for that and make it substantial for all the issues you will encounter using an arithmatic operator where it doesn't belong.

They may also be confusing backend work and frontend presentation.