Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jzwinck
on Dec 5, 2015
|
parent
|
context
|
favorite
| on:
If I were designing Python's import from scratch
You can use "import longmodulename as mn"--many people do this today, and it isn't nearly as harmful as "*".
zo1
on Dec 5, 2015
[–]
Overall, I think many would agree that "import
" and "from x import
" are more harmful than any of the alternatives. It's a laziness code-smell and will come back to bite you.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: