Fork me on GitHub
#admin-announcements
<
2015-10-07
>
ncouturier12:10:20

Hi all, i am new to clojure and am looking at a well written lib (not mine). Still the functions code look long to me. Do you use a tool, a plugin in emacs to navigate throught clojure code and spot that an item of code is a function from a external library or defined in the file ?

jaen12:10:47

I don't know about emacs, but Cursive is pretty good at navigating code

ncouturier13:10:00

@jaen thx for your answer

malcolmsparks13:10:57

@ncouturier: yes, in emacs, there's cider-find-var which is usually bound to M-period (and M-comma for a 'back button')

malcolmsparks13:10:29

imo, it's pretty essential when reading clojure to be able to dive in to vars like this

malcolmsparks13:10:44

I've only recently discovered how to do this in cljs too

akiva13:10:05

I’m like @delaguardo and use Spacemacs so Helm, Projectile, CIDER, clj-refactor, and other great packages are baked right in and unified. Helm’s great.

malcolmsparks14:10:51

@ncouturier: never used it, but I think I will soon

tjg15:10:03

@ncouturier: Nice, I use outline-magic for code folding, but that helm-clojure-headlines may have advantages. BTW, the version in the article no longer seems to work; I use this now: https://gist.github.com/holguinj/191c455f31da40ba0d0f

tjg16:10:03

@ncouturier: Hmm, customized that helm-clojure-headlines a bit... https://gist.github.com/tjg/4903f00a62e02bbe6217

ghadi19:10:10

Anyone know of articles against using schemas (avro/thrift/protobuf) across applications? I know Stu halloway's talk Narcissistic Design mentions it.

Alex Miller (Clojure team)19:10:26

he talked about it more in the fressian talk at the conj a couple years ago

ghadi19:10:13

looking for some text... specifically about the drawbacks of schemas

mitchelkuijpers19:10:51

@tjg @ncouturier: helm-semantic-or-imenu also gives you all the functions in a source file 😉

tjg20:10:21

@mitchelkuijpers: Ha, thanks! Gotta stop diving in without looking around...