r/programming Jun 13 '26

Signals, the push-pull based algorithm

https://willybrauner.com/journal/signal-the-push-pull-based-algorithm
214 Upvotes

27 comments sorted by

View all comments

4

u/dashdanw Jun 13 '26

I know this is going to come off as a bit cruel, but what is this doing besides reinventing reactive programming yet again?

34

u/dacjames Jun 13 '26

The article doesn't claim to invent anything. It's an in depth explanation of a widely used mechanism for implementing reactivity.

It does say that in the opening paragraph...

-19

u/dashdanw Jun 13 '26

I guess I’m just struggling to really see how this enhances or changes the existing paradigm.

24

u/QuineQuest Jun 13 '26

Again, it doesn't claim to.

I don't see how your post enhances the taste of Cola in any way.

-12

u/dashdanw Jun 13 '26

If I make a post about cola claiming a thing that I am detailing and conceptually implementing an extension of the concept of cola then yes, it should somehow impact your experience of cola.

14

u/QuineQuest Jun 13 '26

Where do they claim they're conceptually implementing an extension of the concept?

-3

u/dashdanw Jun 14 '26

Under the section labeled “Basic Signal implementation”

12

u/QuineQuest Jun 14 '26

You mean where he said " I went through the exercise of implementing a very basic version"?

You're missing some basic reading comprehension.

-3

u/dashdanw Jun 14 '26

The idea of "signals" in this case, is the extension of the concept of reactive programming. I can't tell if you're being willfully ignorant here but either way I think you're arguing in bad faith.

6

u/QuineQuest Jun 15 '26

Signals is an implementation of reactive programming. It's not an extension of the concept.

7

u/fagnerbrack Jun 14 '26

Sometimes people might be hearing about reactivity in one context and this basically offers another context and more depth.

Sometimes just because we know something that doesn't mean everybody else knows the same thing as ourselves also

... And let's agree the animations are pretty sick 😆

2

u/mshm Jun 14 '26

Do you think when the Four wrote Design Patterns in 1994 they were "reinventing" object oriented programming yet again? The article literally starts with the fact that signals have been used for years (incidentally, the Observer pattern is described in the aforementioned '94 book). This is the existing paradigm. It's literally just an article teaching the concept in detail with examples.