r/functionalprogramming • • Mar 01 '23

Intro to FP Why FP devs obsessed with Referential Transparency

I want to clarify referential transparency, why it is so cool, what it has to do with side-effects, and what common misconceptions are. For instance, how can the code have no “side-effects”, but the program can print to the console?

Video: https://youtu.be/UsaduCPLiKc

📹  Hate watching videos? Check out the complementary article on dev.to, which covers the same content.

5 Upvotes

4 comments sorted by

View all comments

Show parent comment

3

u/[deleted] Mar 09 '23

im about to start working through that book! Hopefully that gives me the background I need to adequately understand this rich world of FP