Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Referential transparency and FP

by Apocalisp (Initiate)
on Mar 28, 2011 at 13:12 UTC ( #895903=note: print w/replies, xml ) Need Help??

in reply to pissed off about functional programming

Some things here are spot on, but other things are very confused. What you're lacking is a good handle on what functional programming is (rather than what it is not). Functional programming is programming with (pure) functions. That's it. Nothing more or less. Programming is therefore functional to the extent that it is referentially transparent (by definition). If it isn't that, then it's nothing at all. You can wave your hands and talk about "functional style" but it doesn't matter with how much style you violate referential transparency. It's not functional programming, to the extent that you violate it.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://895903]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2019-10-14 23:19 GMT
Find Nodes?
    Voting Booth?