Author: Omid David Tabibi
Date: 17:26:11 10/08/03
Go up one level in this thread
On October 08, 2003 at 13:07:28, Gerd Isenberg wrote:
>On October 08, 2003 at 10:28:33, Daniel Clausen wrote:
>
>>On October 08, 2003 at 10:12:26, Gerd Isenberg wrote:
>>
>>>On October 08, 2003 at 09:55:19, Daniel Clausen wrote:
>>>
>>>>On October 08, 2003 at 09:50:34, Gerd Isenberg wrote:
>>>>
>>>>>Comments and suggestions welcome.
>>>>
>>>>Vowels in class names. :)
>>>
>>>oups, where?
>>>
>>>If you mean that one (same "grafic" characters),
>>>
>>>const char CDblBB::binDigit[2] = { '°','\333'}; // { '0','1'};
>>>
>>>better use that one
>>>
>>>const char CDblBB::binDigit[2] = {'0','1'};
>>>
>>>for printing bitboards.
>>>
>>>Gerd
>>>
>>>>
>>>>Sargon
>>
>>
>>I was referring to the funny class name "CDblBB". I found out what "BB" means
>>but I'm working on the rest. :)
>>
>>Sargon
>
>
>Hehe, i had a longer name before but replaced it,
>with respect to length of lines.
I used to use short names too, but it is hard to remember what the name stands
for (or worse: what it does!), especially in large codes. Now I use long names,
very long names actually, such that no further comments are needed :)
And if you want the code to fit in fewer lines, then use
... {
}
instead of:
...
{
}
for example:
if (...) {
} else {
}
instead of:
if (...)
{
}
else
{
}
>
>Gerd
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.