[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #12868 [metrics-lib]: cyclic dependency
#12868: cyclic dependency
-----------------------------+---------------------
Reporter: iwakeh | Owner: karsten
Type: defect | Status: new
Priority: normal | Milestone:
Component: metrics-lib | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-----------------------------+---------------------
Comment (by iwakeh):
Well, dependency injection is interesting, but
* The code for using the framework might be more overhead than other
solutions.
* Using dependency injection would also affect the metric-lib
clients/users. How would they be affected?
The metric-lib descriptor functionality is tied to heavy file io and url
reading (afaik). In such a setting the additional abstraction level of
dependency injection could be troublesome (i.e. Exception handling)?
(I sound negative here. Maybe, I am a bit of "devil's advocate" in this
case.)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12868#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs