News for hackers. Stuff that matters.
Re:Clean your codebase with basic information theory by camgunz on Monday February 19, 2024 @05:05AM (#39427904)
To me they felt very similar to Joe Armstrong's "Why do we need modules at all?" [0]:

---

Why do we need modules at all?

This is a brain-dump-stream-of-consciousness-thing. I've been thinking about this for a while.

I'm proposing a slightly different way of programming here The basic idea is

- do away with modules

- all functions have unique distinct names

- all functions have (lots of) meta data

- all functions go into a global (searchable) Key-value database

- we need letrec

- contribution to open source can be as simple as contributing a single function

- there are no "open source projects" - only "the open source Key-Value database of all functions"

- Content is peer reviewed

... ---

Whole thread's worth a read.

[0]: https://erlang.org/pipermail/erlang-questions/2011-May/05876...

Re:Clean your codebase with basic information theory by valty on Monday February 19, 2024 @06:52AM (#39428794)
Sounds exactly what I have been thinking of.

IMHO the key is visualization of everything. Data dependencies, runtime control flow, and a centralized graph-based data store and schema.

Re:Clean your codebase with basic information theory by theLiminator on Monday February 19, 2024 @05:08AM (#39427921)
Kinda sounds similar to unison.
Re:Clean your codebase with basic information theory by ImHereToVote on Monday February 19, 2024 @06:28AM (#39428614)
How is versioning handled?