Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.misc > #669

Re: Can Reactive Programming Handle Complexity?

From Marko Rauhamaa <marko@pacujo.net>
Newsgroups comp.misc
Subject Re: Can Reactive Programming Handle Complexity?
Date 2014-02-21 18:22 +0200
Organization A noiseless patient Spider
Message-ID <87ios8wi42.fsf@elektro.pacujo.net> (permalink)
References (3 earlier) <87sirdzmdy.fsf@elektro.pacujo.net> <9cb11c8e-0607-44b7-b8b6-370bb82f532a@googlegroups.com> <le7kk7$v5q$1@dont-email.me> <87k3coeco7.fsf@elektro.pacujo.net> <le7sj1$oat$1@dont-email.me>

Show all headers | View raw


dialmove <dialmove@gmail.com>:

> But that's the thing, if you program in RFP you *don't have* state
> machines, it's streams all the way down.

I challenge you to write the tiniest RFC 821 SMTP server in such a way.

Note that Microsoft's tutorial mentioned the example of a throttling
filter (a perfectly sound streaming example). You won't be able to
implement that throttling filter without a state machine.

> When you find a paradigm that is well suited to the problem to solve,
> there's little use in thinking of how that paradigm translates into a
> different, less adequate paradigm.

Streaming as a *technique* is the perfect tool in many situations. I use
it all the time.

I understand state machines quickly get bewilderingly complicated.
However, don't sweep them under the rug because you are only going to
get into bigger trouble that way (I've learned my lessons). Instead, I
recommend putting The State on a pedestal in your classes. That gives it
the right visibility and you a chance to get it right.


Marko

Back to comp.misc | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Can Reactive Programming Handle Complexity? Oregonian Haruspex <bob_davis_retired@yahoo.com> - 2014-02-18 16:33 -0800
  Re: Can Reactive Programming Handle Complexity? dialmove <dialmove@gmail.com> - 2014-02-20 16:17 +0000
    Re: Can Reactive Programming Handle Complexity? dialmove <dialmove@gmail.com> - 2014-02-20 16:36 +0000
      Re: Can Reactive Programming Handle Complexity? Marko Rauhamaa <marko@pacujo.net> - 2014-02-20 20:09 +0200
        Re: Can Reactive Programming Handle Complexity? wjwlsn <ibillwilson@gmail.com> - 2014-02-20 13:05 -0800
          Re: Can Reactive Programming Handle Complexity? Marko Rauhamaa <marko@pacujo.net> - 2014-02-20 23:18 +0200
            Re: Can Reactive Programming Handle Complexity? wjwlsn <ibillwilson@gmail.com> - 2014-02-20 13:40 -0800
            Re: Can Reactive Programming Handle Complexity? dialmove <dialmove@gmail.com> - 2014-02-21 13:56 +0000
          Re: Can Reactive Programming Handle Complexity? dialmove <dialmove@gmail.com> - 2014-02-21 13:34 +0000
            Re: Can Reactive Programming Handle Complexity? Marko Rauhamaa <marko@pacujo.net> - 2014-02-21 16:57 +0200
              Re: Can Reactive Programming Handle Complexity? dialmove <dialmove@gmail.com> - 2014-02-21 15:49 +0000
                Re: Can Reactive Programming Handle Complexity? Marko Rauhamaa <marko@pacujo.net> - 2014-02-21 18:22 +0200

csiph-web