On Thu, 30 Apr 2009 23:24:24 +0400, dolive <[email protected]> wrote:

Andrei Alexandrescu дµ½:

dolive wrote:
> bearophile дµ½:
>
>> dolive:
>>> Suggest the d Language and phobos lib ( And other lib ) assigns name to use the tallest phrase in the phrase of word frequency . This, should study toward the java . This is also the key that the java jdk source code easily reads
>>> This is also one of the java successful keys .
>>> thank you very much !
>> Are you trying to suggest to follow the Zipf's law in naming things in Phobos/Tango?
>> http://en.wikipedia.org/wiki/Zipf%27s_law
>> I agree.
>>
>> Bye,
>> bearophile
>
>
> yes£¬is so

I'm not very sure. That would suggest using exceedingly common names
(the, on, go, do, be, and, use...) which are often imprecise because
they are used in a variety of contexts (hence their frequency). I often
prefer a word that has a precise meaning.

Andrei

Ok, has a precise meaning is a premise.
when have more than two phrases, choosing high that of use the tallest phrase in the phrase ( Function name ) of word frequency .

For example:
      getData and fetchData.

the choice getData


No offense, but I can't believe someone who knows very little of English makes 
naming suggestions to native language speakers.
Maybe there is no difference between get and fetch to you, but there sure is 
for others. I believe there are cases when one name is preferable over another 
for clarity.

Reply via email to