You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently inheritance can break between classes as classes might be capitalized or not. This leads to classes inheriting from Color but the class color was not capitalized. By default all class names should be CamelCased, also to avoid clashes with built-ins (like set and Set).
The text was updated successfully, but these errors were encountered:
Classes are now CamelCase or at least Titlecase (upper case letters always win, so favoring CamelCase)
Methods are now lowercase
Attributes are now UPPERCASE
A fair amount of attributes clashed with python keywords if they were lowercase
Easier to distinguish methods and attributes at a glance
Might follow up with a specialty rule to change cases where methods might clash with keywords (currently they are removed, but might rename them to avoid naming clash instead).
Currently inheritance can break between classes as classes might be capitalized or not. This leads to classes inheriting from
Color
but the classcolor
was not capitalized. By default all class names should be CamelCased, also to avoid clashes with built-ins (likeset
andSet
).The text was updated successfully, but these errors were encountered: