@Justin to define contracts like that, spec is probably the best tool. Just
agree on a spec for a set of functions in your namespace and then your
co-worker can code to the spec.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this
thanks Alex
On Sat, Feb 10, 2018 at 11:57 AM, Alex Miller wrote:
> There are other options to manage multiple projects without creating jars
> using either local or git deps in clj. Don’t have time to give a full
> example atm but just wanted to mention it.
>
>
thanks Justin
On Sat, Feb 10, 2018 at 12:10 PM, Justin Smith wrote:
> On further reflection, in most cases you can avoid defmulti and
> defprotocol, and write functions that accept data and return data to
> implement most of your logic. In that case a "stub" is simply a
On further reflection, in most cases you can avoid defmulti and
defprotocol, and write functions that accept data and return data to
implement most of your logic. In that case a "stub" is simply a data
literal of the appropriate shape. Start with some conventions about how the
data should be
One approach to this sort of parallel development is having each developer
code against the interface of other modules, while implementing the
interface of their own module, so that their code can use stubs of
interfaces before the production versions are available.
Perhaps in Clojure this could
There are other options to manage multiple projects without creating jars using
either local or git deps in clj. Don’t have time to give a full example atm but
just wanted to mention it.
https://clojure.org/guides/deps_and_cli
--
You received this message because you are subscribed to the
thanks so much *Laurens Van Houtven, *appreciate the quick response
On Sat, Feb 10, 2018 at 11:20 AM, Laurens Van Houtven <_...@lvh.io> wrote:
> Hi,
>
>
> In order to use functions from another namespace, that namespace must be
> available on the Java Classpath. If you & your coworker are
Hi,
In order to use functions from another namespace, that namespace must be
available on the Java Classpath. If you & your coworker are working on the
same project, this problem usually resolved via version control. If you're
working on separate projects, that's usually fixed by having the
https://repl.it/repls/ZanyHoarseZebratailedlizard
; Dependency between two people
;assume I am working with Joe on a project, Joe is responsible for the
functions in
;(ns map.core) which he creates in his local branch.
;I am responsible for the functions (ns mine.core) and I am dependent on