this post was submitted on 03 Nov 2022
0 points (NaN% liked)

General Programming Discussion

7803 readers
1 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 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] bbarker@lemmy.ml 0 points 2 years ago (1 children)

and 96% of it is pure functions

Thanks - I was just wondering how this somewhat precise statistic was obtained.

Otherwise, all that makes sense generally, though I tend to model logging as an effect in statically typed languages with effect systems. But I agree that it isn't the most important thing!

[โ€“] yogthos@lemmy.ml 0 points 2 years ago

I'm not sure how the statistic for Pedestal was obtained, don't recall if the talk mentions it or not. There are static analysis tools for Clojure like clj-kondo that can provide these kinds of insights. You could see what parts of the code are pure based on what functions get called for example.