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

I don't use Java, but Python has a reasonably large set of builtins, and the base modules like os and sys provide a lot more - C would require a longer list of includes. Still, I would like to be able to write something like "mmap::mmap" and have Python automatically figure out what to import, keeping the namespace separation but eliminating the redundancy of explicit imports.

(maybe pick something other than double colons, heh.)



    python -m this | head -4 | tail -1
Or use Ruby and ActiveSupport::Dependencies.




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

Search: