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

List:       kde-devel
Subject:    Re: Commenting Code
From:       ramagnus () t-online ! de (Rolf Magnus)
Date:       2002-02-18 17:45:10
[Download RAW message or body]

On Monday 18 February 2002 18:24, Rik Hemsley wrote:

> > But it's also very hard to invent self-explaining function names.
>
> If you can't name the function, it probably shouldn't be one and the
>design should be changed.

a function name can (and should) not explain details about how it works and 
what it does.

> > In many cases this may also lead to very long names.
>
> Why is that a problem ? Programmers use editors with code completion.

They do? I don't. And I don't want to have function calls that are 3 lines 
long because of e.g. long namespace+long function name+partamers and so on. 
They are hard to read if they are too long.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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