[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Circular dependencies between libraries - what to do?
From: |
Emanuel Berg |
Subject: |
Re: Circular dependencies between libraries - what to do? |
Date: |
Sun, 21 Sep 2014 03:42:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> You can try to restructure the files, so as to get
> rid of the circularity.
Yes, if one entity depends on another entity, while
that depends on the first, I can't see any other way
than making more, smaller entities.
And as this is so easy, why consider something else?
Aside from solving the problem you get a better, more
modular design with neater program units which will
benefit you (the OP) in other situations as well.
By the way, you (the OP) said "this is a library
question, not an init file question" (pseudo-quote) -
but what is the difference? If an init makes available
a bunch of Elisp functions for a specific purpose, how
is that not a library?
--
underground experts united