Re:Jank – The native Clojure dialect with seamless C++ interop
by kianN on Friday October 23, 2026 @02:20AM
(#50205102)
Immutability and stateless separate the nrepl from jupyter. Clojure is not strictly functional but it tends to be the most straightforward way to do most tasks in the language.
[ Parent
| on HN ]
Re:Jank – The native Clojure dialect with seamless C++ interop
by waffletower on Friday October 23, 2026 @11:33AM
(#50210749)
What characterizes a "functional language" often skirts history. Clojure defaults to immutable data structures and is more functional than its Lisp ancestry, although Lisp does enjoy "functional" status in all but the most religious programming circles.
Re:Jank – The native Clojure dialect with seamless C++ interop
by flavio81 on Friday October 23, 2026 @01:55PM
(#50212892)
A requirement for functional programming is that there's no action from a distance, thus, functions should not modify variables outside of their scope.
This doesn't exactly mean immutable data structures are mandatory, but it helps.
In any case, most of the functions that operate on data structures in Lisp (or Common Lisp) do it in an immutable way.
Re:Jank – The native Clojure dialect with seamless C++ interop
by waffletower on Friday October 23, 2026 @02:38PM
(#50213500)
That is a projected, community-localized, requirement that ignores historic evolution of the practice. It is very interesting that machines can now be more flexible and understanding about nomenclature subtleties like this than some human engineers. Since we are adding layer after layer of pedantry -- rather than 'requirement' -- 'ethic' or 'practice' would be a more effective, practical and inclusive word choice here. The subtext of this thread, that Clojure somehow isn't a "functional enough" language to be labelled a "functional" language is narrow community prejudice.
Re:Jank – The native Clojure dialect with seamless C++ interop
by djtango on Saturday October 24, 2026 @01:43AM
(#50218612)
My history is a little hazy but IIRC lisp families were inspired by the lambda calculus and Scheme was a champion of lexical scoping at a time where people thought dynamic scoping was the only practical way to express programming languages. So it's amusing that the lisp families are now not considered functional