3 ms·
Is it right to equate functional programming and determinism though? Functional programming implies a certain programming style / type of language, whose output
by wladimir 15y ago
Is it right to equate functional programming and determinism though? Functional programming implies a certain programming style / type of language, whose output is guaranteed to be deterministic if only pure functions are used. But they're not the same thing.
- camuel2 15y agoZeroVM invocation is a pure function. ZeroVM cluster invocation is a pure function. Functional programming according to wikipedia is - "a programming paradigm that treats computation as the evaluation of mathematical functions and avoids state and mutable data" ZeroVM invocations satisfy that definition. With existing Swift integration all storage is immutable and ZeroVM cannot have any state by design.