Content deleted Content added
Diego Moya (talk | contribs) |
Diego Moya (talk | contribs) |
||
Line 147:
As opposed to all those other computer languages where calling f(x) produces different results each time for the same x? Perhaps there is an important idea there but if so it is pretty fucking badly expressed. Is it just that there are no global variables? If so, yawn. [[User:Greglocock|Greglocock]] ([[User talk:Greglocock|talk]]) 06:41, 24 April 2017 (UTC)
:I've tried to clarify, let me know if that's enough. It's not just about global variables, but having no state that is not captured in the arguments. [[User:Diego Moya|Diego]] ([[User talk:Diego Moya|talk]]) 12:45, 24 April 2017 (UTC)
:P.S. Technically you can have global variables in a pure functional language, as long as they're immutable. "Global" is a term describing the [[Scope (computer science)|scope]] of a variable, not its changes in state. [[User:Diego Moya|Diego]] ([[User talk:Diego Moya|talk]]) 12:52, 24 April 2017 (UTC)
|