Re: abstraction on two libraries

2013-02-16 Thread Stuart Sierra
Yeah, it's not worth the effort. IF you were going to attempt it, you'd want to define a protocol (or multimethods) for the common features that both libraries provide, then provide different implementations of those protocols using each library. But what's the point, especially if they both

abstraction on two libraries

2013-02-13 Thread AtKaaZ
Hi. Suppose you want to make an abstraction on top of two similar but different libraries (hermes and titanium), so that I could switch between using either of them(or both of them) at compiletime or runtime, how would you do something like that? Thanks. -- Please correct me if I'm wrong or

Re: abstraction on two libraries

2013-02-13 Thread Zack Maril
To do that from scratch would probably be pretty hard and not worth the effort. It would be an interesting learning experience, but for building something significant, I would recommend selecting one of the libraries and just sticking with that one at first. Hermes and Titanium are both