Functional Programming: The Enterprise Edition
summary
Claims that pure functional Scala works at enterprise scale and that effects belong in types get demonstrated with concrete code: Option and Either replace nulls and exceptions; cats-effect IO wraps S3‑style fetch/write so a review‑insertion bot composes as a value and runs; OptionT and for‑comprehensions tame nested Java getters; applicative product combines independent encryption and validation calls into a safe signup flow. Examples run end‑to‑end against in‑memory caches and simulated S3, and the code returns expected Option/Either/IO results for both good and bad inputs.
AI-written summary · about
chapters (12)
- 0:00Start
- 1:06Salesforce Tower San Francisco
- 4:38Enterprise
- 8:31Why? Blame COBOL.
- 9:18Why? Blame universities.
- 15:35Partiality Example 1
- 16:42Partiality Ex. 1 (functional)
- 17:32Partiality Example 2
- 23:01Failure Example (imperative)
- 23:38Failure Example (functional)
- 28:26IO Example (functional)
- 32:46Did you notice patterns?
related talks
34mFunctional Programming: The Enterprise Edition
43mBringing Functional Programming to Work
09mStop the Software Apocalypse with Functional Programming
57mMaximising Side Effects When Adopting Functional Programming
03mTalks About His Talks
01h 26mEconomic Argument for Functional Programming
49mBuilding Safe, More Testable Scala Production Systems
04mAlex Payne interviewed at OSCON 2010
