Best of Functional ProgrammingApril 2025

  1. 1
    Article
    Avatar of medium_jsMedium·1y

    OOP vs. Functional is Dead

    Modern programming language classifications based on paradigms like functional or object-oriented are becoming less useful as languages increasingly blend multiple paradigms. Instead, classifying languages by their memory management approach offers a more practical framework. Languages can be categorized as Sovereign (manual memory management), Guardian (ownership/RAII), Custodian (garbage collection), or Accountant (automatic reference counting). This classification impacts performance, safety, and developer experience, providing clearer insights when selecting a language for a specific application domain.

  2. 2
    Video
    Avatar of codeheimcodeHeim·1y

    #85 Golang - Functional Programming: First-Class Functions, Closures & More!

    This post provides an in-depth look at functional programming in Golang, focusing on first-class functions, higher-order functions, and closures. Examples are provided to demonstrate how functions can be treated as variables, passed as arguments, and returned from other functions. The concept of closures, where functions retain access to their environment, is also discussed through practical examples.

  3. 3
    Article
    Avatar of communityCommunity Picks·1y

    hanickadot/shorty

    Shorty library offers terser syntax for C++ lambdas, simplifying tasks like sorting, filtering, zipping, and transforming data. It allows for straightforward syntax to call external functions, cast data types, and remap indices. The library supports various flexible argument notations and options for capturing by reference or copy.