[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [PATCH] KUser and new class KGroup
From: Christian Loose <christian.loose () hamburg ! de>
Date: 2004-06-05 9:51:21
Message-ID: 200406051151.21586.christian.loose () hamburg ! de
[Download RAW message or body]
Am Samstag, 5. Juni 2004 11:07 schrieb Alexander Neundorf:
> On Friday 04 June 2004 19:13, Jan Schäfer wrote:
> >
> > So I think there are enough cases where it could be used.
>
> Well, I don't want to sound negative, but which advantage would the KGroup
> class offer over
> struct group gr=getgrname(name)/getgrid(gid); ?
> This seems to be basically the two calls which are used in these places,
> not hard to understand, easy to use, well known UNIX API.
> Wrapping a class around it adds another layer, which means overhead (not
> much), another layer which can have bugs and another new API to learn.
>
Do you remember all the incorrect calls of the "well known" UNIX API
gethostname() (e.g. http://lists.kde.org/?l=kde-cvs&m=106659066513576&w=2)?
As André said, some people here just much more familiar with a C++ API.
Christian
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic