I use JetBrains’ Rider IDE for my Unity scripts (instead of Visual Studio). I prefer JetBrains IDEs for many reasons, one of which is its Code Inspection features.
I’ve noticed that Rider issues a warning for many of the variable names being used in these Unity courses and wonder if there is a reason Rick doesn’t adhere to the standard C# naming conventions.
I come from a Java background, so I prefer Rick’s version of naming, personally, but should we be changing our names to match the standards instead of sticking with what Rick is showing us?
For example, Rick uses all caps with snaking (underscores) for spaces, for const
variables. It seems the standard would be to use PascalCaseVariables instead, though.
Is this just a case of C# and Unity having different conventions?
This is definitely not a criticism; just worried I may be learning bad habits I’ll need to unlearn later.