ssadler / hawk

Awk for Hoodlums
BSD 3-Clause "New" or "Revised" License
35 stars 2 forks source link

Expose more packages #6

Closed gelisam closed 11 years ago

gelisam commented 11 years ago

Each extra import probably increases the loading time, but makes hsl much more useful by giving users access to more primitives.

I'm not sure if we should carefully curate the available commands to minimize loading time and name conflicts, or if we should add the kitchen sink and fix naming errors as we or our users encounter them.

ssadler commented 11 years ago

Right... I'm not really sure how unused imports affect loading times, so in the long run it would be good to know. For now I think go for it, there's no burden to maintain backwards compatibility anywhere in sight :). I think it would be nice to make careful choices on how exactly to expose functions (qualified imports vs bare), but I haven't put that much thought into it yet.

gelisam commented 11 years ago

Since we now plan to let the user configure his own list of packages, I think this issue can be closed.