Talk:Reactive programming

message: Reference 5 (The Art of Service) contains a copy of the Wikipedia content surrounded by adverts.  — Preceding unsigned comment added by GeraldByrne (talk • contribs) 21:40, 9 October 2016 (UTC)
thread_title:  Reference 5 appears to be spam 

message: Is a spreadsheet considered a reactive programming environment? --Damian Yerrick (talk | stalk) 15:39, 28 September 2007 (UTC)
replies: text: This article used to have a section about the similarities with spreadsheets, but not sure what's happened to it, and there seems to be no discussion of it here. Reinistalk 10:26, 9 December 2020 (UTC)
thread_title:  Spreadsheet? 

message: When I read this paragraph:
"For example, in an imperative programming setting, a: = b + c would mean that a is being assigned the result of b + c in the instant the expression is evaluated. In reactive programming it could instead mean that we set up a dynamic data-flow from b and c to a. whenever the value of c or b is changed, then a is automatically updated."
I immediatly thought, "Verilog?"  —Preceding unsigned comment added by 15.252.0.75 (talk) 20:41, 26 June 2008 (UTC)
thread_title:  Hardware Description Languages? 

message: See this jsFiddle EXAMPLE of A=X+Y where X and Y updates A.
 function setA(){  // A=X+Y as integers
    var A = parseInt($('#X').text()) + parseInt($('#Y').text());
    $('#A').text( A );
 }
 setA(); // for inicial value of A
 $('#X,#Y').css('cursor','pointer').click(function(){
    // by reaction to a click: updates A and X or Y
    var obj = $(this);
    obj.text(parseInt(obj.text())+1);
    setA();
 });
=== Imperative example? ===
The jQuery code above looks strictly imperative.  It's very much like all other DOM-manipulation jQuery code I've seen.  You are wiring a click handler, and in that handler calling a procedure (function) to do some DOM manipulation.  setA() specifies how to update A (e.g. statements to update state, which in this case is the text of A) rather than any code in the example specifying that A's text should always be the sum of X and Y.  — Preceding unsigned comment added by 128.187.112.10 (talk) 20:43, 3 July 2017 (UTC)
thread_title:  Can add jQuery? 

message: The jQuery code above looks strictly imperative.  It's very much like all other DOM-manipulation jQuery code I've seen.  You are wiring a click handler, and in that handler calling a procedure (function) to do some DOM manipulation.  setA() specifies how to update A (e.g. statements to update state, which in this case is the text of A) rather than any code in the example specifying that A's text should always be the sum of X and Y.  — Preceding unsigned comment added by 128.187.112.10 (talk) 20:43, 3 July 2017 (UTC)
thread_title:  Imperative example? 

message: In the Object Oriented example, it is written that, "Below is an illustration of the A=X+Y introductory example."  However, although the problem is the same, the introductory example is illustrated with A = B + C, using B & C as variables, rather than X & Y.  The OORP example should probably be amended to utilize B and C as the variables, as in the introductory example.--Jtrnp (talk) 01:39, 31 March 2015 (UTC)
thread_title: OORP Example Needs Revision

message: Perhaps it should be noted more directly that the phenomenon called "glitch" here isn't really an error or a mistake. The example given explicitly invokes synchrony. This is the real reason that it might not perform "as expected" in a reactive framework; that is, because the declarative nature of reactive programming only holds as long as the temporal aspect of states is not involved in the declarations.
In the section it says that reactive languages sometimes "permit glitches", but I don't think that's quite right. It's not that values sometimes "temporarily fail to correspond to the program source". The paradigm is about deliberately letting go of serial control of execution flow. Jimmymath (talk) 19:39, 5 March 2020 (UTC)
thread_title:  Glitch section, qualification