Over the years I’ve found that programming, being somewhat rigid by nature, can sometimes be less confusing (at least for myself) if I understand fully what parts of a line of code are set in stone, and what parts are names that were created by the author of the code.
“myClass” is a portion of the code that I know can be changed, as long as the desired name is within the rules of class naming. “register_class” clearly is not, as that is critical to the function of a given script.
Is there an exhaustive list of naming conventions and what is up-to-the-user vs. what is integral to python in blender?
The code that spurred this question is from an add-on tutorial:
the naming convention for class names makes sense to me, but I know that pie menus are new-ish to Blender. is the “PIE” portion of the above name critical, or was that just the convention of the tutorial author? the separator is “MT_” and then according to what I am reading about naming, everything after that can be “mixed case”. Is “PIE” required?
There are other naming issues I’m seeing, and for the purpose of teaching myself and perhaps helping others, I am interested in learning a bit more.