The greatest advancement in computing, IMO, was structured programming. Ifs, Loops, Functions. What do they have in common? They got rid of goto spaghetti.
Erlang actors excel in part because they are structured in supervision trees. There's that word again.
If you can, structure things as a tree. If it is not possible, make a DAG. Only use arbitrary graphs as a last resort.
This is why so many OO codebases turn into a mess, every object has references to who knows what, forming a complex dependency graph full of action at a distance.
Erlang actors excel in part because they are structured in supervision trees. There's that word again.
If you can, structure things as a tree. If it is not possible, make a DAG. Only use arbitrary graphs as a last resort.
This is why so many OO codebases turn into a mess, every object has references to who knows what, forming a complex dependency graph full of action at a distance.