phpc.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A server for PHP programmers & friends. Join us for discussions on the PHP programming language, frameworks, packages, tools, open source, tech, life, and more.

Administered by:

Server stats:

833
active users

#functionalprogramming

10 posts9 participants0 posts today

「 Curry is a declarative multi-paradigm programming language which combines in a seamless way features from functional programming (nested expressions, higher-order functions, strong typing, lazy evaluation) and logic programming (non-determinism, built-in search, free variables, partial data structures) 」

curry-lang.org/

curry-lang.org- Curry Programming LanguageA Truly Integrated Functional Logic Programming Language

Interesting.

"In the 1990s, it was [...] thought that parallel graph-reduction architectures could make functional programming languages much faster than their imperative counterparts. Alas, that prediction mostly failed to materialize. [...] Now, two projects — Bend and Vine — have sprung up attempting to change that, and prove that parallel graph reduction can be a useful technique for real programs."

lwn.net/Articles/1011803/

lwn.netTwo new graph-based functional programming languages [LWN.net]

Racket v8.16 Launch: Enhancements and Community Contributions Propel Functional Programming Forward

The release of Racket v8.16 marks a significant milestone for the open-source programming language, showcasing the power of community collaboration. With improved installation processes and new featur...

news.lavx.hu/article/racket-v8

I am once again faced with the bleak irony of people who install onto their computer some 5 or 10 apps via FlatPak or Docker, including VSCode, each installed with their own entire copies of Node.js and Electron.js (differing only in their minor revision number), while also complaining about Emacs being “bloated” because it ships with a miniature web browser and fully-featured e-mail client.

#tech#software#Emacs

🔣 Algebraic effects are a functional approach to manage side effects
—Peter Saxton

「 Much development time is spent managing and understanding the side effects - algebraic effects offer a consistent and ergonomic approach. This single abstraction supersedes exception handling, state, iterators async-await and more by generalising the communication between a program and the world 」

crowdhailer.me/2025-02-14/alge

crowdhailer.meAlgebraic effects are a functional approach to manage side effectsAn explanation of what algebraic effects are and why they are useful for managing side effects

λ Church Of Turing - The Landscape of Lisp

「 In fact the variety of Lisp is in my opinion one of it's best qualities. It almost guarantees that as long as you can overcome the (relatively) small barriers of the paren-heavy syntax and prefix notation that there will be a dialect and community that closely mirrors your philosophy on software development 」

churchofturing.github.io/lands

churchofturing.github.ioChurch Of Turing - The Landscape of Lisp

kitfucoda.medium.com/the-versa

Python's __call__ dunder offers a closure alternative. It manages state in a class, callable like a function, opening new code structuring possibilities.

In complex scenarios, __call__ enhances readability and maintainability. Encapsulating logic and data promotes cleaner code, improving clarity and debugging.

For pre-filling arguments, consider __call__ over functools.partial, especially with methods needing internal state. It creates a state-holding object for robust operations.

This is beneficial in large projects with complex logic. Using __call__ improves organization and maintainability, leading to efficient development.

Medium · The Versatility of __call__: A Python Developer’s Secret WeaponBy KitFu Coda

Why dont we define uncertainty as a function of time ?
Isnt a function also a variable ?
Aha
> In functional programs the variables are like those in mathematics, once a value has been assigned the value cannot change.

In imperative languages it is typical that the values held by variables an be changed.

/Higher-order
/Random
#functionalprogramming