Hello Brent,
The use case I had in mind was to keep a map readable during development.
Take a simple map: {:type QTDIR :path (hash "a string")}. It's easier to
play with this data if evaluation of certain symbols and functions is
delayed.
Thanks you both for your answer,
kind regards,
Dieter
Thanks, I'm currently reading the book you mentioned (Joy of Clojure). Just
started on 'Types, protocols and records'...
Still doubting if I should continue learning clojure. From my point of
view, the only major advantages of the language so far, are 'clojurescript'
and the idea that I can eval
Thanks alot for all the answers,
still getting my head around the matter :)
On Tuesday, March 31, 2020 at 10:41:02 AM UTC+2, Dieter Van Eessen wrote:
>
> Hello,
>
> I've got a clojure and a python piece of code. Both seem to create what
> can be considered an instance of a
Hello,
I've got a clojure and a python piece of code. Both seem to create what can
be considered an instance of a class. Wherein lies the conceptual
difference?
Python:
class MYCLASS():
def __init__(self, x):
self.x = x
def MYMETHOD(self):
...
def MYFUNCTION():
l
Perhaps an extra sidenote:
Installed leiningen 2.8 through package manager (debian), it installed
openjdk-9 automatically. Had the same issue.
Downgrading to openjdk-8 fixed the issue. Did this after i read about some
bug on https://bugs.openjdk.java.net/browse/JDK-8189357
IMPORTANT: if you try