bbarker

joined 2 years ago
[โ€“] 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!

[โ€“] bbarker@lemmy.ml 1 points 2 years ago* (last edited 2 years ago) (3 children)

As an FP-fan interested in Clojure, how does one track if functions are pure in Clojure? I had assumed this was not possible, due to it not being statically typed (although I gather there is 3rd-party support for gradual typing).

8
Learn Rust by making a Rogue-like game (bfnightly.bracketproductions.com)
 

this tutorial tries to take you from zero (how do I open a console to say Hello Rust) to hero (equipping items to fight foes in a multi-level dungeon). I'm hoping to continue to extend the series.