Re: Best practice? libs and modules
- From: "Trans" <transfire@xxxxxxxxx>
- Date: 1 Sep 2006 22:52:21 -0700
khaines@xxxxxxxxx wrote:
So, for example, I have added some things to String and Hash, but don't
want to either force my users to use my extensions, or interfere with my
users ability to use their own extensions. So, any place where I am going
to need one of those extensions, I work with Iowa::String or Iowa::Hash
instead of String and Hash. It's a little more typing for me, but better
for my users.
There's a downside to this though. To take advantage of those
extensions your uses have to use these special subclasses too. As long
as your not changing the behavior of a built-in you're generally okay.
T.
.
- Follow-Ups:
- Re: Best practice? libs and modules
- From: khaines
- Re: Best practice? libs and modules
- References:
- Best practice? libs and modules
- From: Patrick Gundlach
- Re: Best practice? libs and modules
- From: khaines
- Best practice? libs and modules
- Prev by Date: Re: [ANN] Using RubyInline for Optimization
- Next by Date: Re: Off topic: What is "top posting" ??
- Previous by thread: Re: Best practice? libs and modules
- Next by thread: Re: Best practice? libs and modules
- Index(es):
Relevant Pages
|