Which do you prefer? TokenA, TokenB, TokenC or TokenD?
I don't know... Maybe there is something wrong with my brain.Code:typedef struct { unsigned char *data; unsigned char type; unsigned int line; unsigned int column; } TokenA; typedef struct { unsigned char *data; unsigned char type; unsigned int line; unsigned int column; } TokenB; typedef struct { unsigned char *data; unsigned char type; unsigned int line; unsigned int column; } TokenC; typedef struct { unsigned char *data; unsigned char type; unsigned int line; unsigned int column; } TokenD;
When writing variables, defines, functions or typedefs I'm stuck with their name, spaces and indentation!
...TokenA or Token_A or tokenA or token_a or TOKEN_A... :S
...char *token or char *sToken or char *strToken or char *lpcstrToken...
Could you imagine? Whenever my mood is using MyFunction style...
I will rewrite--yeah! rewrite! the whole function named my_function, then rename it to MyFunction either in the same algorithm or a new one.
Am I crazy? Yes I am.
Somebody help me!! (-*_*-)"