Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ramses0
4 months ago
|
parent
|
context
|
favorite
| on:
Why do we need modules at all? (2011)
This is kindof how golang works by default. `import foo/bar/baz` then "foo" and "bar" effectively don't exist, you only refer to "baz" in the end.
`import github.com/blah/baz`, `megacorp.com/finance/baz`, ...
It all resolves to `baz.Something()`
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
`import github.com/blah/baz`, `megacorp.com/finance/baz`, ...
It all resolves to `baz.Something()`