understanding fruit
Posted: 18 Jun 2005, 11:00
I find in fruit pawn.cpp the following variables
int BitEQ[16];
int BitLT[16];
int BitLE[16];
int BitGT[16];
int BitGE[16];
int BitFirst[0x100];
int BitLast[0x100];
int BitCount[0x100];
int BitRev[0x100];
When I can guess what it the meaning of the last variables from the name it is hard to understand the meaning of the first variable only based on the name and I do not like reading the source only to guess from it what they mean.
I think that it is better if source code at least include some file that explain the meaning of the variables in english,unless it is obvious by the name or they are explained at the file that they are defined.
Uri
int BitEQ[16];
int BitLT[16];
int BitLE[16];
int BitGT[16];
int BitGE[16];
int BitFirst[0x100];
int BitLast[0x100];
int BitCount[0x100];
int BitRev[0x100];
When I can guess what it the meaning of the last variables from the name it is hard to understand the meaning of the first variable only based on the name and I do not like reading the source only to guess from it what they mean.
I think that it is better if source code at least include some file that explain the meaning of the variables in english,unless it is obvious by the name or they are explained at the file that they are defined.
Uri