News for hackers. Stuff that matters.
Re:What I wish I knew when learning F# by grumpyprole on Thursday October 14, 2021 @12:30PM (#28866441)
Functional programming is not just programming with closures. It's about "referential transparency". Referential transparency permits higher-level mathematical reasoning, which leads to safer/better program composition, optimisations, caching/reuse and parallelisation/concurrency. If you are willing to concede mutable-state and other uncontrolled effects, there is much to be gained.
Re:What I wish I knew when learning F# by DeathArrow on Friday October 15, 2021 @01:55AM (#28874766)
You might mean "enforced referential transparency" by having immutable variables and no I/O. Otherwise most languages allow you to have pure functions and nothing forces you to mutate state.
Re:What I wish I knew when learning F# by dboreham on Thursday October 14, 2021 @12:43PM (#28866618)
Citation needed.

<ducks>