Underscores, hyphens, periods? What should I avoid? It seems I can use any of those three characters but wasn't sure if I should stick to one format.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
IRC: #consul on Freenode
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/1ff77521-d499-443c-8e06-26942723769e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Underscores, hyphens, periods? What should I avoid? It seems I can use any of those three characters but wasn't sure if I should stick to one format.
--
Hyphens feels most natural to me in this context, but I don't have any logical justification for that. Underscores is probably the most friendly in terms of being easily converted to identifiers in other contexts, eg variable names which in most languages do not allow hyphens or periods. I don't think there are any magical wins or losses to any particular approach, though. Tools like envconsul that set environment variables from key names convert invalid characters to underscores automatically.
On Mon, Oct 10, 2016 at 2:30 PM, Sam Sen <samna...@gmail.com> wrote:
Underscores, hyphens, periods? What should I avoid? It seems I can use any of those three characters but wasn't sure if I should stick to one format.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
IRC: #consul on Freenode
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.