2026-04-23 11:18 UTC
@simon_brooke@mastodon.scot @vnikolov@ieji.de @janneke@todon.nl @spook@pleroma.m68k.church The thing I found interesting about functional programming in Perl is just how much the language (not APIs obviously) did not work against you. Refer to things by value, don't try to mutate references, use closures, and things are easier. The ref counter doesn't get confused. The whole language and a lot of its weird warts just ... work.
Replies (2)
-
@tfb@functional.cafe 2026-04-23 11:18
@simon_brooke@mastodon.scot @vnikolov@ieji.de @janneke@todon.nl @spook@pleroma.m68k.church (The APIs all fight you tooth and nail, though)
-
@vnikolov@ieji.de 2026-04-23 11:39
«Refer to things by value, don't try to mutate references, use closures, and things are easier.» Indeed. Without prejudice, as bureaucrats say, this (broadly) matches my experience with other languages, otherwise quite different. (Like Java and Python.) @tfb@functional.cafe @simon_brooke@mastodon.scot @janneke@todon.nl @spook@pleroma.m68k.church