Do global variables need to be written in capitals in `cgat-core` pipelines?
Closed this issue · 1 comments
lucygarner commented
Do global variables (accessible from outside and inside defined pipeline steps/functions) need to be written in capitals in cgat-core
pipelines or is this a style choice?
Acribbs commented
Sorry I have only just seen this . No, global variables are typically written in capitals as they can be very dangerous is you accidentally overwrite a local variable unexpectedly. Therefore we typically write them in capitals to make sure we avoid this