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

I really don't see what namespaces would achieve. The way it is I can look at something and explicitly see which module it belongs to (e.g. dired-next-line, image-next-line vs. org-agenda-next-line).

In my experience namespaces only introduce notation to distinguish modules but so does a simple convention.



Namespaces are nice when the language lets you name a space at the top of a file or a block and then not repeat the name prefix on every identifier inside. They are not just used to add dots to identifier names, although that would often be NSNice in NSItself.


This is exactly my point: It isn't nice. I want to grep a file for a name and exactly that name, maybe I even want to replace it.

I just can't do that without any fancy tools as soon as namespaces introduce ambiguity that I can't resolve when I look at a narrow region of a file.


Should be nc-nice, we are talking lisp here.

Although this looks like a regular prefix. How does the namespaced elisp propose to refer to entities from other namespaces?




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

Search: