News for hackers. Stuff that matters.
Re:F (2006) by macmac on Friday August 21, 2020 @06:23PM (#24239501)
> There are no side-effects

Yet it prints stuff to the terminal.

Re:F (2006) by Avshalom on Friday August 21, 2020 @07:47PM (#24240108)
I 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.
Re:F (2006) by salutis on Friday August 21, 2020 @06:28PM (#24239533)
Also heats up the room.
Re:F (2006) by Koshkin on Friday August 21, 2020 @07:13PM (#24239888)
Exactly. 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).
Re:F (2006) by smabie on Friday August 21, 2020 @10:16PM (#24241011)
It also uses up RAM.