Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.

audit plugin API surface and close around what shouldn't be public #31

Open
gtanner opened this issue Jul 5, 2012 · 1 comment
Open
Milestone

Comments

@gtanner
Copy link
Contributor

gtanner commented Jul 5, 2012

There is a lot of stuff publicly exposed in Alice that really shouldn't be.
ie:

alice.format
alice.percentage
alice.elems

We should only expose publicly what we expect someone would use.

@ldhasson
Copy link
Contributor

ldhasson commented Jul 5, 2012

We want third-parties to be able to build Master effects, and as such, much of the stuff in Core needs to be public. the convention was to use a leading underscore for methods that were meant top be private. I chose that over a more complex pattern (closure-based) for simplicity.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants