BookShared
  • MEMBER AREA    
  • Professor Frisby's Mostly Adequate Guide to Functional Programming

    (By Brian Lonsdorf)

    Book Cover Watermark PDF Icon Read Ebook
    ×
    Size 22 MB (22,081 KB)
    Format PDF
    Downloaded 598 times
    Last checked 9 Hour ago!
    Author Brian Lonsdorf
    “Book Descriptions: This is a book on the functional paradigm in general. We'll use the world's most popular functional programming language: JavaScript. Some may feel this is a poor choice as it's against the grain of the current culture which, at the moment, feels predominately imperative. However, I believe it is the best way to learn FP for several reasons:

    You likely use it every day at work.

    This makes it possible to practice and apply your acquired knowledge each day on real world programs rather than pet projects on nights and weekends in an esoteric FP language.

    We don't have to learn everything up front to start writing programs.

    In a pure functional language, you cannot log a variable or read a DOM node without using monads. Here we can cheat a little as we learn to purify our codebase. It's also easier to get started in this language since it's mixed paradigm and you can fall back on your current practices while there are gaps in your knowledge.

    The language is fully capable of writing top notch functional code.

    We have all the features we need to mimic a language like Scala or Haskell with the help of a tiny library or two. Object-oriented programming currently dominates the industry, but it's clearly awkward in JavaScript. It's akin to camping off of a highway or tap dancing in galoshes. We have to bind all over the place lest this change out from under us, we don't have classes[^Yet], we have various work arounds for the quirky behavior when the new keyword is forgotten, private members are only available via closures. To a lot of us, FP feels more natural anyways.

    That said, typed functional languages will, without a doubt, be the best place to code in the style presented by this book. JavaScript will be our means of learning a paradigm, where you apply it is up to you. Luckily, the interfaces are mathematical and, as such, ubiquitous. You'll find yourself at home with swiftz, scalaz, haskell, purescript, and other mathematically inclined environments.”

    Google Drive Logo DRIVE
    Book 1

    The Pragmatic Programmer: From Journeyman to Master

    ★★★★★

    Dave Thomas

    Book 1

    The Five Dysfunctions of a Team

    ★★★★★

    Patrick Lencioni

    Book 1

    Dive Into Design Patterns

    ★★★★★

    Alexander Shvets

    Book 1

    Modern Software Engineering: Doing What Works to Build Better Software Faster

    ★★★★★

    David Farley

    Book 1

    Object Design Style Guide

    ★★★★★

    Matthias Noback

    Book 1

    The Ascent of Money: A Financial History of the World

    ★★★★★

    Niall Ferguson

    Book 1

    Software Architecture: The Hard Parts: Modern Trade-Off Analyses for Distributed Architectures

    ★★★★★

    Neal Ford

    Book 1

    Deep Work: Rules for Focused Success in a Distracted World

    ★★★★★

    Cal Newport

    Book 1

    For We Are Many (Bobiverse, #2)

    ★★★★★

    Dennis E. Taylor

    Book 1

    Learn You a Haskell for Great Good!

    ★★★★★

    Miran Lipovača

    Book 1

    Learning Domain-Driven Design: Aligning Software Architecture and Business Strategy

    ★★★★★

    Vladik Khononov

    Book 1

    Implementing Domain-Driven Design

    ★★★★★

    Vaughn Vernon