Best of Functional ProgrammingJanuary 2025

  1. 1
    Article
    Avatar of tigerabrodiTiger's Place·1y

    Branded Types in TypeScript

    Branded types in TypeScript are a way to simulate nominal typing by adding a unique brand to a base type, making structurally identical types incompatible at compile time. This is useful for preventing bugs caused by passing the wrong type of value. The concept originated in the functional programming world and has been adopted by the TypeScript community to ensure type safety.

  2. 2
    Article
    Avatar of jsdeveloperJavaScript Developer·1y

    Understanding JavaScript Currying with a Real-World Application

    This post explains JavaScript currying, breaking down the complex concept into simple language and practical examples to show its purpose and benefits in programming.

  3. 3
    Article
    Avatar of hnHacker News·1y

    pyper-dev/pyper: Concurrent Python made simple

    Pyper is a flexible framework for concurrent and parallel data-processing using functional programming patterns. It simplifies writing ETL systems, data microservices, and data collection with its intuitive API and clean abstractions. Pyper supports threaded, multiprocessed, and asynchronous tasks, ensuring safety and efficiency with lazy execution and zero sub-dependencies. It provides a unified API for threading, multiprocessing, and asyncio, enabling the creation of composable pipelines.

  4. 4
    Article
    Avatar of python_dev963Python Developers·1y

    Pyper: Concurrent Python Made Simple

    Pyper is a new and flexible framework for concurrency and parallelism in Python, emphasizing the functional programming paradigm. It offers an intuitive API, prioritizes safety, and is designed for efficiency, all while being a lightweight and pure Python package with no dependencies.

  5. 5
    Article
    Avatar of opensourcesquadOpen Source·1y

    Pyper - Concurrent Python Made Simple

    Pyper is a flexible, pure-Python framework designed for concurrent and parallel data processing. It features an intuitive API that unifies threaded, multiprocessed, and asynchronous work using functional programming principles. Pyper ensures safety by managing underlying task execution and resource clean-up, and it is optimized for efficiency with lazy execution through queues, workers, and generators.

  6. 6
    Article
    Avatar of ntietznicole@web·1y

    Great things about Rust that aren't just performance

    The post highlights several reasons why the author enjoys programming in Rust beyond its performance advantages. Rust's expressive type safety, resistance to crashes, data race prevention, and control over system resources are emphasized. The ability to mix functional and imperative styles and the helpful compiler errors also stand out. Ultimately, the author finds Rust fun and a joy to work with, crediting its design for making coding an enjoyable experience.

  7. 7
    Article
    Avatar of lobstersLobsters·1y

    This FTP site

    This post provides a comprehensive index of topics and resources related to various programming concepts, including polymorphic type inference, lambda calculus, probabilistic programming, denotational semantics, and more. The content covers a wide range of subjects in computation, types, meta-programming, continuations, logic, algorithms, and data structures, with a focus on functional programming languages such as Haskell, ML, and Scheme.

  8. 8
    Article
    Avatar of twostopbitsTwo Stop Bits·1y

    Open Dylan

    Dylan is an object-functional programming language originally created by Apple for the Newton, designed to support efficient machine code generation. It offers a combination of features from Scheme and CLOS without Lisp syntax and provides fine-grained control over dynamic and static behaviors. Beginners can start with the 30-minute Tour of Dylan, use the playground to experiment, or consult in-depth guides and the Dylan Reference Manual for a detailed understanding. The language also has extensive documentation available including cheat sheets and articles.