|
|
|
|
|
by cryptonector
1510 days ago
|
|
> I think you can say that at the boundaries, applications aren't anything. I think you very much can say that "at the boundaries, applications are procedural" (i.e., they do side-effecting things sequentially). That's not incompatible with FP. On the contrary, FP used properly lets you push all that procedural code to smallish kernels at the "boundaries" so that all the rest of the code can be pure (thus easily tested). |
|
Well, side-effecting, yes, because that's literally how we define boundaries.
Sequentially? Not so much; concurrency (whether asynchrony or true parallelism) is important largely because simple sequential behavior doesn't capture what happens naturally at the boundaries well. (I suppose on an individual boundary, defined in the right way, there is likely to be a sequencing constraint, but not in aggregate across the boundaries of the system.)