www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - d assigns name Philosophy

reply dolive <dolive89 sina.com> writes:
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 !
Apr 30 2009
next sibling parent reply bearophile <bearophileHUGS lycos.com> writes:
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
Apr 30 2009
parent reply dolive <dolive89 sina.com> writes:
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
yesis so
Apr 30 2009
parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
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
yesis 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
Apr 30 2009
prev sibling next sibling parent reply dolive <dolive89 sina.com> writes:
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
yesis 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
Apr 30 2009
parent reply "Denis Koroskin" <2korden gmail.com> writes:
On Thu, 30 Apr 2009 23:24:24 +0400, dolive <dolive89 sina.com> 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.
Apr 30 2009
parent dolive <dolive89 sina.com> writes:
Denis Koroskin д:

 On Thu, 30 Apr 2009 23:24:24 +0400, dolive <dolive89 sina.com> 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.
Sorry, my right and wrong English nation of, also not too acquaint with to English, so there will be such suggestion choosing high that of use the tallest phrase in the phrase ( Function name ) Hope to use the most in common use most in simple use most in easy use phrase thanks
Apr 30 2009
prev sibling parent reply hasen <hasan.aljudy gmail.com> writes:
dolive wrote:
 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 !
I don't really understand .. you are suggesting to use short names or long names? Java is known for having very very very long names org.name.domain.SomeReallyLongClassName.SomeBoringMethodName( myObject.YetAnotherBoringMethodName( 10 ) ) Doing stuff like that is a ReallyBadIdeaInMyHumbleOpinion
May 01 2009
next sibling parent reply dolive <dolive89 sina.com> writes:
hasen д:

 dolive wrote:
 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 !
I don't really understand .. you are suggesting to use short names or long names? Java is known for having very very very long names org.name.domain.SomeReallyLongClassName.SomeBoringMethodName( myObject.YetAnotherBoringMethodName( 10 ) ) Doing stuff like that is a ReallyBadIdeaInMyHumbleOpinion
Certainly short name is good Primary school student it can know of short name dolive
May 01 2009
parent superdan <super dan.org> writes:
dolive Wrote:

 hasen �:
 
 dolive wrote:
 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 !
I don't really understand .. you are suggesting to use short names or long names? Java is known for having very very very long names org.name.domain.SomeReallyLongClassName.SomeBoringMethodName( myObject.YetAnotherBoringMethodName( 10 ) ) Doing stuff like that is a ReallyBadIdeaInMyHumbleOpinion
Certainly short name is good �� Primary school student it can know of short name dolive
then i guess 95% of my private functions are doShit() and 95% of my public functions are doStuff().
May 01 2009
prev sibling parent Steve Teale <steve.teale britseyeview.com> writes:
hasen Wrote:

 dolive wrote:
 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 !
I don't really understand .. you are suggesting to use short names or long names? Java is known for having very very very long names org.name.domain.SomeReallyLongClassName.SomeBoringMethodName( myObject.YetAnotherBoringMethodName( 10 ) ) Doing stuff like that is a ReallyBadIdeaInMyHumbleOpinion
Undefined identifier - do you mean: "ReallyAVeryBadIdeaInMyHumbleOpinionAndTheOpinionOfManyOthers".
May 01 2009