3 ms·
That doesn't make sense. In filesystem-land /com/ycombinator/news is not equivalent to com/ycombinator/news. The latter depends on your current location in th
by kelnos 14y ago
That doesn't make sense. In filesystem-land /com/ycombinator/news is not equivalent to com/ycombinator/news. The latter depends on your current location in the filesystem, while the former does not.
The search domains vs. search paths comparison is interesting, but I'd argue not equivalent either. Filesystem search paths only apply to binary executables, for one thing. On unix-like systems, at least, it is recommended that you do not have '.' in your search path. Regardless, there isn't really a "default" search path. If it's empty, you get nothing, and you'll be unable to execute anything without specifying a path. If your search domain list is empty, you still get the default, which is the root.
I guess you can draw some parallels here and there, but it feels a bit forced to me.
- TazeTSchnitzel 14y agoSure, it's like both in some ways but also quite unlike both in other ways.