-
Notifications
You must be signed in to change notification settings - Fork 246
dev.CodingConventions
Thomas Mann edited this page Feb 26, 2024
·
2 revisions
if (_midiEventCollection == null) return; //❌
if (_midiEventCollection == null) //✔
return;
// looks like code
// Better
We're using git for version control and to keep backups of no longer needed variations and experiments.
If you comment out a line of code, please remove it before committing. This is valid for c# and hlsl code alike.
If commented out code is useful for understanding existing code, please add a comment explaining why the code is commented out.