Why do we need modules at all? (2011)

In this article, the author questions the need for modules in programming. They propose a different approach where all functions have unique names and are stored in a global key-value database. The author believes that this eliminates the difficulty of deciding which module to put a function in and avoids breaking encapsulation. They also suggest that open source contributions could be as simple as contributing a single function to the database. The author explores the idea of using metadata to search for functions and suggests that program development should be viewed as changing the state of a key-value database. They propose an extension to the system involving voting for promotion and a review process.

http://erlang.org/pipermail/erlang-questions/2011-May/058768.html

To top