[Lemon-devel] Renaming basic classes

Kovács Péter kpeter at inf.elte.hu
Sun Sep 16 10:10:05 CEST 2007


Hi,

> What makes you think a()/b() is less specific than red()/blue() or
> first()/second()?

a() and b() are not words, only letters. I think such names are usually used
for temporary varibles. The others are whole words, so using them makes easier
to avoid conflicts. 

On the other hand if 'arc' is used instead of 'edge', the typical iterator
varible for arcs will be 'a', not 'e'. So IMHO red/blue, first/second, etc.
would be better than a/b. But this is only my opinion.

Peter



More information about the Lemon-devel mailing list