cognitect / clojure-lab

Clojure workshop
80 stars 16 forks source link

Add note about protocol organization #29

Open k4y3ff opened 9 years ago

k4y3ff commented 9 years ago

Add a note in "Polymorphism"about separating protocols and records into separate files.

/cc @puredanger because this was an imminently useful tangent

sumbach commented 9 years ago

May also be good to mention require-ing the namespace where a record is defined (to ensure it's compiled, even if you don't use any of the Clojure symbols from that namespace directly).

k4y3ff commented 9 years ago

@sumbach Wait, are my issues spamming everyone in the Cognitect org right now? And if so, sorry not sorry?

¯(ツ)/¯ ;D

sumbach commented 9 years ago

(っ^‿^)っ No problem, @kpfell!

My GH account auto-watched the repo when it was created--I suspect the same for some or all of the Cognitects. I'm enjoying following along.

@cognitect/employees: if you want to unsubscribe, https://github.com/cognitect/clojure-lab/subscription