• 0 Posts
  • 2 Comments
Joined 1Y ago
cake
Cake day: Jul 01, 2023

help-circle
rss

I think you’re confusing lambdas with lambda calculus. Lambda calculus is more than just anonymous functions.

To put it extremely simply, let’s just say functional programming (the implementation of lambda calculus) is code with functions as data and without shared mutable state (or side effects).

The first one increases expressiveness tremendously, the second one increases safety and optimization. Of course, you don’t need to write anonymous functions in a functional language if you don’t want to.

As for why those “pseudo-functions” are useful, you’re probably thinking of closures, which capture state from the context they are defined in. That is pretty useful. But it’s not the whole reason lambda calculus exists.


I use Helix and Nvim pretty much concurrently and whenever I have to use vim I feel slower on most basic movements. A fresh set of keybinds is really nice - though simultaneously there are one or two specific actions which are slower or unintuitive in Helix. But overall I love Helix.