Fork me on GitHub
#reveal
<
2021-11-26
>
vlaaad20:11:55

Current display for atoms looks like this:

#reveal/atom[:foo 0x64b22bd7]
What do you folks think about showing it instead like this:
(atom :foo #_0x64b22bd7)
?

kenny14:11:59

I quite like the current format. Why are you thinking the new one? More amenable to REPL manipulation?

kenny16:11:20

I will say, one that struck me as odd is changing the rendering of the reader tag for Clojure builtin objects. e.g., #reveal/atom instead of #object[clojure.lang.Atom

vlaaad21:11:26

It's shorter

vlaaad21:11:10

And if you copy-paste it as text to repl you sort of get the same kind of object

vlaaad21:11:46

Clojure's default object printing seems too verbose for me

vlaaad20:11:17

same goes for futures, delays, promises, refs, volatiles etc.