3 ms·
The more code I write, the more I fully write out namespace names (thus answering the question "where does this function get defined"), so the code starts to lo
by pnathan 12y ago
The more code I write, the more I fully write out namespace names (thus answering the question "where does this function get defined"), so the code starts to look like prefix based naming anyway.
(Not that I am against namespacing - I think being able to have namespaced packages is a really good idea).
- mercurial 12y agoMany namespace/module systems let you do something like import really_long_name as rln You still get the answer to your question, without sacrificing terseness. For the record, I also tend to use fully-qualified names when it makes sense. Some languages make this impossible though (I'm looking at you, Java and your files with twenty or thirty lines of IDE-generated imports).