Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design Philosophy: interface #20

Closed
kammce opened this issue Apr 21, 2024 · 0 comments · Fixed by #21
Closed

Design Philosophy: interface #20

kammce opened this issue Apr 21, 2024 · 0 comments · Fixed by #21

Comments

@kammce
Copy link
Member

kammce commented Apr 21, 2024

Document the design philosophy for creating new interfaces. Here is a quick list:

  1. Smallest vtable
  2. Private virtual functions
  3. Pure virtual functions
  4. Zero bytes in size
  5. Do NOT break ABI
  6. Naming
    a. TBD
  7. Must not be a template
  8. Prefer wide API contracts
  9. Eliminate viral behavior
  10. ...
kammce added a commit that referenced this issue Apr 24, 2024
kammce added a commit that referenced this issue Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant