1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-06 23:06:49 +02:00

Naming conventions in Julia

As suggested in #768 by @ChristianPeel
This commit is contained in:
Geoffrey Liu
2014-09-21 17:16:05 -07:00
parent 92a2dbf34e
commit 54fad387b5

View File

@@ -125,8 +125,9 @@ SomeOtherVar123! = 6 # => 6
# A note on naming conventions in Julia: # A note on naming conventions in Julia:
# #
# * Names of variables are in lower case, with word separation indicated by # * Word separation can be indicated by underscores ('_'), but use of
# underscores ('\_'). # 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 # * Names of Types begin with a capital letter and word separation is shown
# with CamelCase instead of underscores. # with CamelCase instead of underscores.