diff options
author | Geoffrey Liu <main@g-liu.com> | 2014-09-21 17:16:05 -0700 |
---|---|---|
committer | Geoffrey Liu <main@g-liu.com> | 2014-09-21 17:16:05 -0700 |
commit | 54fad387b51371a9af1cb409dac74215c053c1ba (patch) | |
tree | bf287d63b1351408afc12cd568c0117372502655 | |
parent | 92a2dbf34eeec0f4faf610e1b4d464d91dd10010 (diff) |
Naming conventions in Julia
As suggested in #768 by @ChristianPeel
-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. |