Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm also looking for better ways to index path. If I can pass some options in (use) and initialize with options, it will be better.


I really think "not indexing path" is the better choice. Instead of (uname -a), why not just export a single symbol and do (shake uname -a)? (or even just (sh uname -a)?) Then find the correct program to run at invocation time. It's more clear about what happens, and allows much simpler implementations with much less weird failure modes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: