Re: Rationale of behavior when invoking composite data type as 0-arity function

2021-11-24 Thread Dieter Van Eessen
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

Re: problems using leiningen on Ubuntu 14.10 (and solved)

2018-04-15 Thread Dieter Van Eessen
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

Conceptual difference between map and class

2020-03-31 Thread Dieter Van Eessen
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

Re: Conceptual difference between map and class

2020-04-02 Thread Dieter Van Eessen
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

Re: Conceptual difference between map and class

2020-04-03 Thread Dieter Van Eessen
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