3 ms·
Clojure has tools to make it easy to bypass private/protected : http://richhickey.github.com/clojure-contrib/java-utils-api.html#clojure.contrib.java-utils/wal
by arohner 16y ago
Clojure has tools to make it easy to bypass private/protected :
http://richhickey.github.com/clojure-contrib/java-utils-api.html#clojure.contrib.java-utils/wall-hack-method http://richhickey.github.com/clojure-contrib/java-utils-api....
- fogus 16y agoGranted it's just using Java calls (no magic), but still fun.
- bretthoerner 16y agoAre those called wall-hack for the reason I think they are? If so, awesome.
- dedward 16y agoIt's a spoof alrticle -a joke - and "private" and "protected" were never about the legality of letting other parties access things - they were just conveniences for the developers and the tools to make it clear what could be optimized how, and what should and should talk to what.
- bretthoerner 16y agoHm? I was referring to the Clojure link in the comment above. (And they're the functions linked are no joke)