Fork me on GitHub
#clojure-uk
<
2019-07-19
>
dharrigan09:07:17

stick it on a spike!

maleghast10:07:16

:flag-scotland:

dharrigan11:07:41

you know, just gotta love the interop with clojure, soooo easy to call java apis

jasonbell12:07:50

Itโ€™s amazing how often this is over looked.

guy12:07:08

does emacs have a way to go to a functions definition? I assume yes but no idea where to search specifically to find the answer

guy12:07:25

like in intellij i can think cmd click a function

rickmoynihan12:07:27

in cider itโ€™s usually bound to M-.

guy12:07:42

Thanks this works!

๐Ÿ‘ 4
practicalli-john12:07:21

Spacemacs uses a few options https://practicalli.github.io/spacemacs/navigating-code/ You can use cider-find-var when the REPL is running or dump-jump-go for a more general approach

rickmoynihan12:07:45

@guy: and M-, should take you back to where you were before diving in

guy12:07:19

ah thanks

guy12:07:23

thats good to know

guy12:07:40

i was just using the C-x b I think thats the buffer one

rickmoynihan12:07:03

it is, but it wonโ€™t work if the definition is in the same buffer

๐Ÿ‘ 4
dharrigan13:07:38

I may have just got buy-in from our MD to introduce clojure (first time) into a small(ish) component.

๐Ÿš€ 20
dharrigan13:07:32

Two provisos. 1. I have to show others what I'm doing so that bus-factor > 1 and 2. it has to be small enough so it can be re-written in kotlin/java in a few days incase the experiment goes wrong ๐Ÿ™‚

๐Ÿ‘ 20
thomas13:07:17

WOOOHOOOO congratulations @dharrigan!!!!

thomas13:07:26

well done!

practicalli-john13:07:36

I remember a team from Thoughtworks in Australia who convinced a client to let them build the product in Clojure, in part by agreeing to re-write the Clojure app in Java for free if things didnt work out. They delivered a successful Clojure application and client was happy

maleghast14:07:50

Happy days, @dharrigan - great work! ๐Ÿ™‚