News for hackers. Stuff that matters.
Re:Functional programming in C++ (2012) by jcora on Tuesday December 29, 2020 @04:44AM (#25568248)
It's the other way around. State (and side effects) are explicit in pure programs, and implicit in impure programs.
Re:Functional programming in C++ (2012) by Twisol on Tuesday December 29, 2020 @04:51AM (#25568289)
'tel said the same thing, and I can see it both ways. But I don't think it helps me much to simply state the opposite position -- you don't give me much to reply to :)
Re:Functional programming in C++ (2012) by mumblemumble on Tuesday December 29, 2020 @09:48AM (#25570181)
They're generally explicit in both, albeit in different ways. They're first class (which isn't quite the same thing) in pure programs.