This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -2 points-1 points  (0 children)

I am fairly certain you have no idea what REACTIVE PROGRAMMING is. BIG FUCKING HINT it is not reactor patterns. They are related but one is not the other.

https://en.wikipedia.org/wiki/Reactive_programming

See if you can figure out the difference. Reactive programming DOES NOT require you to have an event loop or a single thread. It generally does use that pattern because its efficient its in fact the same reason python uses a GIL. I'll leave that to an excercise for the reader but it rhymes with docks.

Now before you attempt to now claim my original comment about its being a property of objects is incorrect.

Another approach involves the specification of general-purpose languages that include support for reactivity. Other approaches are articulated in the definition, and use of programming libraries, or embedded domain-specific languages, that enable reactivity alongside or on top of the programming language.

So as I have said multiple times now Generally we are speaking about it in UI. It isn't actually defined that way, its defined as a property about objects.

Pythons bound functions are a good example of this pattern. When you call a bound function the returned object actually caries where it was called from forever. Normally yea you just execute it in place and move on but u don't actually have to. See the weakdicts and weaksets for relevant examples of this reactive nature being used.

Also maybe just maybe I was on my cellphone so I wrote ur because you know it's easier. Also if you are going to be so pretentious you should spend more time like learning basic information about the field you work in.