3 ms·
> In fact, we use computers for their "side-effects". We use computers for their effects. "Side-effects" are things that happen by accident, or incidentally,
by tome 9y ago
> In fact, we use computers for their "side-effects".
We use computers for their effects. "Side-effects" are things that happen by accident, or incidentally, when we were trying to do something else.
- oblio 9y agoI think his point is that from the functional perspective I/O is a side effect, since you're mutating state. But for almost normal beings the I/O is the thing that actually matters, not the twiddling of bits in computer memory.
- tome 9y agoQuite the opposite. In Haskell I/O is an explicit effect. In impure languages I/O is something that happens as a side effect of just calling a function.