Title Casing Rules
|
|
|
Julia is case sensitive. |
|
Convention |
Example |
|
Lower case: Julia structures and commands |
module struct function import using for/end if/end |
|
Lower case: Naming of a container to hold specific elements of a set |
enduses = Select(Enduse,["Heat","AC"]) for enduse in enduses |
|
Title case: Naming of a container to hold one element of a set |
Heat = Select(Enduse,"Heat") |
|
Title case: Most user-defined concepts (names of modules, functions, structs, variables, constants, set names) |
function ReduceDemand Variable names: Dmd, UnGC, TotPol Set names: Area, Enduse, Tech, Year |