Warning: avoid using 'g' as a variable name...

... unless you want an accidental out-of-scope assignment to be not faulted, and cause mystery NullPointerException on graphics calls.

https://github.com/processing/processing/issues/5407

Anyone have a complete list of toxic variable names to avoid?

Comments

Sign In or Register to comment.