u/IamZelenyain r/scala • Recommends
Why are FP devs obsessed with Referential Transparency?
#referentialtransparency#functionalprogramming#sideeffects
3.8K subscribers • 7 videos on Hallway
Intermediate. Assumes working knowledge.
3.2K views3 years ago1 recommendation
Programming languagesSoftware designFunctional programmingLanguage design and type systems
An explanation of referential transparency, its relationship to side effects, and common misconceptions in functional programming.
Hate watching videos? Check out the complementary article, which covers the same content: dev.to/zelenya/why-are-fp-devs-obsessed-with-referential-tra… We 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? 💡 If you want some recaps or cheat sheets, check out these pictures: * What is Referential Transparency: impurepics.com/posts/2018-04-01-referential-transparency.htm… * Referential Transparency in the Wild: impurepics.com/posts/2018-07-13-referential-transparency-wil… #fp #haskell #rust #scala Subscribe to Impure Pics: bit.ly/impure-youtube *More Impure Pics* 🐣 twitter.com/impurepics 📦 impurepics.com 👕 merch.impurepics.com *Functional Alphabet book* 📗 Softcover: bit.ly/fp-abc-soft-cover 📘 Hardcover: bit.ly/fp-abc-hard-cover *Watch more Impure Pics* youtube.com/watch?v=c7FncTzvpUQ&list=UULF9-egQYdpElHtvVM-t9q… *About Impure Pics* FP Advocat. Distilling functional programming for the good of all Get in touch: zelenya.com What is Referential Transparency? Why should I care? What are side-effects? RT in Rust RT in Scala RT in Haskell RT trivia ConclusionWhat people say. Recommended as a clear explanation of referential transparency and how programs can print to the console without side effects.
u/IamZelenyain r/scala • Recommends