← Back to context

Comment by lucozade

5 years ago

> Wouldn't an observer pattern work better?

Better as a solution to what problem? In some cases a dependency graph is an excellent solution. In some cases it's not. In some cases it's fine for small graphs but scales poorly as it can be very hard to reason about (as attested by pretty much anyone who's supported a really big spreadsheet).

But that's the point; it's a really useful tool. Sometimes.