Feature #11411
Style Guide should recommend that variables NOT contain dashes
| Status: | Closed | Start date: | 12/14/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | style guide | |||
| Target version: | - | |||
| Keywords: | Affected URL: | |||
| Branch: | https://github.com/puppetlabs/puppet-docs/pull/38 | |||
| Votes: | 0 |
Description
Variables like:
$foo- $foo-bar
Are dangerous and confusing. They are allowed in several releases albeit they are going to be deprecated. In the meantime to cover us for the releases they are valid in (2.7.0 to 2.7.9) we should recommend against their use.
Related issues
History
Updated by James Turnbull 5 months ago
- Branch set to https://github.com/puppetlabs/puppet-docs/pull/38
Updated by Ryan Coleman 5 months ago
+1
Updated by Nick Fagerlund 5 months ago
I notice there’s a pull request. Is there PS consensus on this yet? Should I merge it?
Updated by Cody Herriges 5 months ago
- Status changed from Needs Decision to Closed
Duplicates http://projects.puppetlabs.com/issues/9899 and since I was working on a section similar to this but james beat me to completion I will go ahead and merge.