Skip to content
Discussion options

You must be logged in to vote

Can you provide a simple code example of what you're proposing?

Very well, first I propose to introduce a term for a named API surface that a class or namespace supports. Considering the analogy of a museum curator selecting artifacts to put on display, I choose the name exhibit. Unlike museum pieces, however, the inclusion of exhibits does not restrict its employment, and an item may freely appear in any number of exhibits without restriction. In the formal proposal I give further rules to keep the employment of exhibits from propagating and complicating the codebase.

A few clarifications are in order: Exhibit names are introduced in the class signature and may also occupy the modifier…

Replies: 4 comments 57 replies

Comment options

You must be logged in to vote
16 replies
@timcassell
Comment options

@leeo3264
Comment options

@timcassell
Comment options

@leeo3264
Comment options

@leeo3264
Comment options

Comment options

You must be logged in to vote
36 replies
@HaloFour
Comment options

@CyrusNajmabadi
Comment options

@CyrusNajmabadi
Comment options

@leeo3264
Comment options

@HaloFour
Comment options

Answer selected by leeo3264
Comment options

You must be logged in to vote
1 reply
@HaloFour
Comment options

Comment options

You must be logged in to vote
4 replies
@HaloFour
Comment options

@sator-imaging
Comment options

@leeo3264
Comment options

@CyrusNajmabadi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants