this post was submitted on 03 Nov 2022
1 points (100.0% liked)

General Programming Discussion

7810 readers
8 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ttmrichter@lemmy.ml 1 points 2 years ago

Lisp is "functional-enabling" not a functional language. Take a look at the Common Lisp library and you'll see a whole lot of imperative-nature constructs and code in it. Lisp permits (and to a degree supports) functional programming. It does not enforce nor even default to the functional paradigm.

And even in a Lisp you're going to start hitting the boundaries of your kit in the embedded world when you do partial application, closures, and even something as seemingly trivial as using immutable state. You'll wind up fighting the language more often than fighting your problem domain and the result will be counterproductive.

Best of breed for me in embedded space is Ada (with Modula-3 being another decent choice). Lisp's not even in the display hall.