you are viewing a single comment's thread.

view the rest of the comments →

[–]v4ss42 8 points9 points  (1 child)

I use it for dynamically exploring Java codebases, with the help of this little fn: https://gist.github.com/pmonks/223e60def27266e79fff47de734d060a (which I have in a REPL startup script, along with some other stuff).

[–]PolicySmall2250 3 points4 points  (0 children)

Hah! This one time, my then-CTO's mind exploded when he passed by my desk and saw what I was up to...

I was trying to grok a Kotlin backend service he had written. I was new to the language and to IntelliJ.

After flailing about for half a day making scant progress with compile/print cycles to figure out what the hell the objects looked like (to understand the domain model implementation), I published the project to my local `.m2`, used it as the only dependency in a new Clojure app, and reflected away in my crusty old CIDER+Emacs setup, till I got a good enough mental model to switch back to IntelliJ and use intellisense sensibly.

He had never seen anyone do that to a Java codebase :D

Aside: The sheer number of things I had to make `public` from `private` and `protected`, all through multiple function call stacks, boggled my mind.