clj-ns-browser icon indicating copy to clipboard operation
clj-ns-browser copied to clipboard

Hide protocol implementation details from user?

Open jafingerhut opened this issue 12 years ago • 1 comments

Consider changing vars with category Protocol so that VALUE does not show up as a map, and "Inspect Coll" button is disabled.

jafingerhut avatar May 01 '12 15:05 jafingerhut

I appreciate the idea that you want to raise the abstraction level for the user when she encounters a "protocol". However, currently a protocol is defined by the map-value, and by introspecting that map I was able to deduce some of its workings. I was surprised that protocol wasn't deftype'd, but it may have to do with bootstrapping (?) as needing protocols to make deftype work (?). Anyway, I personally like to see the implementation details especially when it's in clojure instead of java. Maybe a view-option to hide the implementation detail in some cases?

franks42 avatar May 02 '12 19:05 franks42