3 ms·
> There are no side-effects Yet it prints stuff to the terminal.
by macmac 6y ago
> There are no side-effects
Yet it prints stuff to the terminal.
- salutis 6y agoAlso heats up the room.
- Koshkin 6y agoExactly. If the program won't read it (the printout) back, or unless it is designed specifically to sense the heat, then, strictly speaking, it's not a side effect (in the particular sense in which a side effect may reflect on the program execution).
- Avshalom 6y agoI don't know how F is implemented but in a lot of stack languages printing to the terminal isn't really a side effect. Every function takes the state of the entire world as it's one and only parameter and returns a new world.
- smabie 6y agoIt also uses up RAM.