[GRASS-dev] Re: [GRASS-CVS] hamish: grass6/display/d.vect main.c, 1.71, 1.72

Hamish hamish_nospam at yahoo.com
Tue May 16 22:35:51 EDT 2006


>> Update of /grassrepository/grass6/display/d.vect
>> In directory doto:/tmp/cvs-serv26217/grass6/display/d.vect
>> 
>> Modified Files:
>> 	main.c 
>> Log Message:
>> wcol -> wcolumn. don't abbreviate (harder to understand), the parser
>>   can take care of that.
>
> Agreed!  But, it's inconsistent with "attrcol"?

yes, but I think that's minor inconsistency. Consistency is to be
followed wherever possible, but at the same time we shouldn't perpetuate
bad habits. (how do non-english speakers begin to decode "attrcol"?)
The goal is to be intuitive. I don't mind following which-ever is the
better path to get there.


> Should we keep it for historical reason?

the parser will treat any attrcol= call in a script or habit the same as
attrcolumn=, so no worries about backwards compatibility if that were to
change. Changing it to attr_column= would be backwards incompatible
however.



Hamish




More information about the grass-dev mailing list