News for hackers. Stuff that matters.
Re:Data Classes for Java by escherize on Thursday November 02, 2017 @02:27AM (#15608267)
now in... clojure? We usually don't use dynamic dispatch, but if you wanted to explicitly have an animal-ey map with a name and number of legs, it's:

    (def dog #:animal{:name "dog" :number-of-legs 4})

There are no comments on this comment yet.