Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Formatting variable names

by Bod (Parson)
on Nov 29, 2020 at 13:32 UTC ( [id://11124365]=note: print w/replies, xml ) Need Help??


in reply to Re: Formatting variable names
in thread Formatting variables

This is called snake case.
This is called camel case.

It hadn't occurred to me that they might have names!

Replies are listed 'Best First'.
Re^3: Formatting variable names
by davido (Cardinal) on Nov 30, 2020 at 03:51 UTC

    These two are joined by several others in having colloquial names:

    Naming convention, multiple-word identifiers

    I've seen kebab-case used in Scheme. It is also convenient in domain names, though there are some sound arguments in favor of registering both the hyphenated and non-hyphenated version of a given domain. One reason is that it's hard, in an audio advertisement, to specify the hyphen without making that the most memorable part of the domain.


    Dave

      Thanks - I was going to ask if there are others...

      though there are some sound arguments in favor of registering both the hyphenated and non-hyphenated version of a given domain

      I certainly try to register hyphenated and non-hyphenated variations of domains names as well as different TLDs depending on the importance of the project. I've been bitten a few times with missing out on a domain!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11124365]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-04-19 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found