Re: Regular expressions with glib?
- From: Enrico Weigelt <weigelt metux de>
- To: gtk-devel-list gnome org
- Subject: Re: Regular expressions with glib?
- Date: Mon, 12 Apr 2004 17:51:08 +0200
* Eike Lange <eike lange uni-essen de> [2004-04-12 15:02:12 +0200]:
<snip>
> IMHO, we should ask those systems to use POSIX-like functionality or
> implement an autoconf switch "--no-posix" or something like this what
> seems more easy than living without regexp, well, I'm speaking just
> for me.
Why not simply using the preg library, which is already bundled
w/ other packages like php ?
<snip>
> > I would suggest to consider a separate module for this but I also
> > wouldn't mind to see it included with glib.
>
> Using one more module is one more dependency to fulfill which might
> be unavailable on some installations.
Well, where's the problem ?
If your application uses the functionality, then it has to import
the library providing it. Other applications not using it have no need
to import the lib and so dont require it to be installed on the system.
Putting distinct functionality into distinct modules is IMHO a MUST
for modern software development. System installations should only contain
exactly those code which is really needed. Unneeded extra code wastes
resources, adds unnecessary complexity and brings unnecessary points
of failures, errors, leaks.
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT services
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact metux de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL-Zugang ab 0 Euro. -- statische IP -- UUCP -- Hosting --
---------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]