Skip to content
Kyle La Barge edited this page Sep 20, 2019 · 1 revision
Identifier Case Examples and notes
Language keyword Lower try, catch, foreach, switch
No language other than VB uses mixed-case keywords
Process block keyword Lower begin, process, end, dynamicparameter
As above
Comment help keyword Pascal .Synopsis, .Example
Readability
Package or module Pascal PascalCase
Class Pascal PascalCase
Exception Pascal PascalCase
Global variable Pascal $PascalCase
Local variable Camel $camelCase, $args, $this
Function Pascal PascalCase
Function or method argument Pascal PascalCase
Private function Pascal PascalCase
(in modules)
Constant Pascal $PascalCase
Identifier Camel Lower Pascal Examples and notes
Language Keyword try, catch, foreach, switch
No language other than VB uses mixed case keywords
Process block keyword begin, process, end, dynamicparameter
As above
Comment help keyword .Synopsis, .Example
Readability
Package or module PascalCase
Class PascalCase
Exception PascalCase
Global Variable $PascalCase
Local Variable $camelCase, $args, $this
Function PascalCase
Function or method argument PascalCase
Private function PascalCase
(in modules)
Constant $PascalCase
Clone this wiki locally