diff options
author | Levi Bostian <levi.bostian@gmail.com> | 2014-09-22 19:42:44 -0500 |
---|---|---|
committer | Levi Bostian <levi.bostian@gmail.com> | 2014-09-22 19:42:44 -0500 |
commit | 007aa583ba07d2308cec23b8564eb602331bdb39 (patch) | |
tree | c00a7dde606f5295b9eba59493e1f3d7c3b7cb07 /julia.html.markdown | |
parent | 809bc8ce4900bce21f19226a8dc90d9dc06e9fa5 (diff) | |
parent | 54fad387b51371a9af1cb409dac74215c053c1ba (diff) |
Merge pull request #783 from g-liu/en-julia
Update the naming conventions in Julia
Diffstat (limited to 'julia.html.markdown')
-rw-r--r-- | julia.html.markdown | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/julia.html.markdown b/julia.html.markdown index 82712553..feb38463 100644 --- a/julia.html.markdown +++ b/julia.html.markdown @@ -125,8 +125,9 @@ SomeOtherVar123! = 6 # => 6 # A note on naming conventions in Julia: # -# * Names of variables are in lower case, with word separation indicated by -# underscores ('\_'). +# * Word separation can be indicated by underscores ('_'), but use of +# underscores is discouraged unless the name would be hard to read +# otherwise. # # * Names of Types begin with a capital letter and word separation is shown # with CamelCase instead of underscores. |