Skip to content

Conversation

@mshafer-NI
Copy link
Collaborator

Add clarification that if a global is mutable, to treat is as a global var (snake_case) as opposed to a "constant reference" (SCREAMING_CASE)

@mshafer-NI
Copy link
Collaborator Author

comment job is broken...

Since this changes the Coding Conventions, I'll @-mention the appropriate NI engineers.

@alejandro5042 @alexweav @DavidCurtiss @irwand @jryckman @kcuzner @mshafer-NI @neilvana @nethrasuresh
@pakdev @rick-morrow @rtzoeller @sbethur @stick152 @Adithyak1998 @innagarc @ShibaniRout

@kcuzner
Copy link

kcuzner commented Jan 21, 2022

Is this a common convention for python? In rust mutable 'static globals are still SCREAMING_SNAKE_CASE.

@mshafer-NI mshafer-NI merged commit d91d602 into ni:main Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants