[WIP] Address #36: Allow building-as-an-API#43
Conversation
Pull Request Test Coverage Report for Build 90
💛 - Coveralls |
|
Hi @moshez ! Thanks for the PR :) I tossed some ideas around in this comment on #36 - the key takeaway there is that I didn't pay much attention to private/public markers in the function/method names because I wasn't thinking of library-esque usage at the time. My hunch is that there's nothing that needs to be marked private. The most important code distinction is that the stuff in |
|
@sixninetynine Several comments:
Let me know! |
|
@sixninetynine @warsaw any feedback? |
|
hey @moshez This diff illustrates what I was thinking: master...sixninetynine:shiv_as_lib Basically, |
|
I believe that almost nothing here deserves to be a public module. Do we want people doing If you agree, we should make all modules either begin with |
Currently this is a minimal refactoring that allows calling an API to build. I've done minimal testing, but mostly I want this out there so we can discuss if this is the approach we want to take, and what else needs to be there. E.g., currently all submodules are not-obviously-private, how do we want to clarify what modules are designed to be imported?