From 54fad387b51371a9af1cb409dac74215c053c1ba Mon Sep 17 00:00:00 2001 From: Geoffrey Liu Date: Sun, 21 Sep 2014 17:16:05 -0700 Subject: Naming conventions in Julia As suggested in #768 by @ChristianPeel --- julia.html.markdown | 5 +++-- 1 file 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. -- cgit v1.2.3