Skip to content

Classes

Vinicius Reif Biavatti edited this page Jul 25, 2022 · 1 revision
  • Use a good representation name
  • Use camel case
  • Capitalize all letters of an abbreviation
  • Do not use underscore to separate
  • Do not use special symbols
  • Do not use letters to represent the type, like "I" for interface

✅ Do

class HTTPServer:
    ...

❌ Don't

class HttpServer:
    ...

class IClientServer(ABC):
    ...

class ABCClientServer(ABC):
    ...
Clone this wiki locally