News for hackers. Stuff that matters.
Re:John Carmack on Inlined Code by ninetyninenine on Wednesday October 09, 2024 @11:10AM (#41788727)
When people say pure functional programming they never mean the entire program is like this.

Because if it were your program would have no changing state and no output.

What they mean is that your code is purely functional as much as possible. And there is high segregation between functional code and non functional code in the sense that state and IO is segregated as much as possible away into very small very general functionality.

There are no comments on this comment yet.