[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: KoColor && CMYK -> RGB
From:       porten () froglogic ! com
Date:       2003-10-23 23:14:05
[Download RAW message or body]

On Fri, 24 Oct 2003, Kevin Krammer wrote:

> Wouldn't it be better to either check if the pointers are != 0 or use int&
> instead of int*?
>
> As it seems you need all four parameters anyway, I think int& would be
> better.
> Also makes the code easier to read, no explizit derefencing needed.

It may make the implementation of this function easier to read (I actually
don't think so) but it definitely makes all those places _using_ the
function harder to read. One of the few topics where I agree with
Stroustrup.

Harri.


_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic