To begin with, I’m a very happy Clojurian, but not when I’m working with interops. I’m using Google apis extensively for some features in my product; and so far the experience has been quite awful. I’ve been contemplating it for a while and here are my pain points.
- It is hard to look up for what method a java object supports.
- It is hard to understand the inheritance and polymorphism designs without actually looking at the java codes.
- 1,2 are amplified all the more because I’m using calva with vscode. The IDE’s java support is not as good as that of intellij.
How do you work with interops in general? I welcome any tips/advices/know-hows.
Sure. Basically:
- I eval stuff
- Inspect the result via cider-inspector
- Drill into the java class via `cider-inspector-operate-on-point`
- See all the class method signatures
https://imgur.com/a/aMNoJRu
Oh! The literal inspector - I had no idea it had that capability. Amazing.
Happy Friday, I will dig into this.
PS. Nice video, seeing is believing.
Yeah it’s pretty amazing. I can’t live without it