Destructuring and Pattern Matching

schedule Dec 13th 04:25 PM - 05:10 PM place Crystal 1 people 13 Interested

In this session, we will look De-structuring and Pattern Matching in Functional Programming. What exactly each is and how differently it gets implemented in various languages like languages like Scala, Clojure, Haskell, Erlang, JavaScript. In some languages like Haskell and Scala, it takes a unified form, whereas in languages like Clojure, the two are different

In OO paradigm, this is takes the form of Double-Dispatch or n-Dispatch and usually gets implemented as the famous (or infamous) Visitor Pattern. We will look at how this pattern is made defunct in FP paradigm using Pattern Matching.

1 favorite thumb_down thumb_up 0 comments visibility_off  Remove from Watchlist visibility  Add to Watchlist

Outline/structure of the Session

  • Quick overview of the concept
  • All live coding in different languages (JavaScript, Haskell, Erlang, Scala, Clojure)
  • Moving away from the Visitor Pattern
  • Q & A (last 5-10 mins)

Learning Outcome

Understand the concept so that they are able to look for scenarios where this can be applied in their day-to-day work.

Target Audience

Developers interested in exploring this concept


An open mind!

schedule Submitted 2 months ago

Comments Subscribe to Comments

comment Comment on this Submission

  • Liked Ravindra Jaju

    Ravindra Jaju - Asynchronous Functional Programming on the JVM

    Ravindra Jaju
    Ravindra Jaju
    Chief Idea Seeker
    schedule 2 months ago
    Sold Out!
    45 Mins

    We'll take a close look at core.async - the CSP library for Clojure(script).

    • The motivation
    • Problems suitable for CSPs to handle
    • Syntax
    • Patterns

    Given the minimalist nature of Lisps, the syntax is underwhelming, but applications can be exciting in the manner they make complex problems within reach.