Functional Programming – How and Why

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • AdventOfCode

    https://adventofcode.com/2019 (by cronin101)

  • I built up a map of "where to go next and how far left" and flood-filled it starting from the end and looking at plausible neighbours for each step until convergence, which ended up being super useful for Part 2 since I got it "for free":

    https://github.com/cronin101/AdventOfCode/blob/master/2022/D...

    Day 13 on the other hand is something I'm far less ashamed of and really lets Haskell shine, it basically didn't need any code at all. I just defined how to parse an equivalent data representation, how it was sorted Eq/Ord typeclass (following the brief), and used `compare` to do the lifting.

        instance Eq PacketData where

  • DefinitelyTyped

    The repository for high quality TypeScript type definitions.

  • The library itself is fine. The problem I see is twisting JS/TS in to a language it is not.

    JS simply does not lend itself to currying, data-last signatures, piping, and pattern matching like an ML family language does. And as you can tell by the Ramda typings, neither does the TS type system. [0]

    You will forever fight an uphill battle against every single tutorial and piece of documentation and colleague when going down this path. I don't think the effort is worth it.

    0 - https://github.com/DefinitelyTyped/DefinitelyTyped/blob/dc9b...

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • proposal-pipeline-operator

    A proposal for adding a useful pipe operator to JavaScript.

  • Pipes and pattern matching have been proposed to JS.

    https://github.com/tc39/proposal-pipeline-operator

  • proposal-pattern-matching

    Pattern matching syntax for ECMAScript

  • https://github.com/tc39/proposal-pattern-matching

  • proposal-iterator-helpers

    Methods for working with iterators in ECMAScript

  • As much as I like these concepts, I'd be hesitant about adding them to the language. At what point does a language support too many paradigms?

    In contrast, take the recently stage-3'd Iterator Helpers[0]. These build on top of the language by using methods that already exists in other parts. It feels natural and is more of the same.

    0 - https://github.com/tc39/proposal-iterator-helpers#implementa...

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How good is typescript as a backend language?

    2 projects | /r/typescript | 31 Dec 2021
  • Deno Joins TC39

    20 projects | news.ycombinator.com | 13 Dec 2021
  • JSR: The JavaScript Registry

    9 projects | news.ycombinator.com | 1 Mar 2024
  • TC39: Add Object.groupBy and Map.groupBy

    6 projects | news.ycombinator.com | 19 Dec 2023
  • If you ever get called out for using long type names, remember this exists

    3 projects | /r/typescript | 7 Jul 2023