digitalmars.D - d assigns name Philosophy
- dolive (3/3) Apr 30 2009 Suggest the d Language and phobos lib ( And other lib ) assigns name to...
- bearophile (6/9) Apr 30 2009 Are you trying to suggest to follow the Zipf's law in naming things in P...
- dolive (2/13) Apr 30 2009 yesis so
- Andrei Alexandrescu (6/21) Apr 30 2009 I'm not very sure. That would suggest using exceedingly common names
- dolive (6/29) Apr 30 2009 Ok, has a precise meaning is a premise.
- Denis Koroskin (3/37) Apr 30 2009 No offense, but I can't believe someone who knows very little of English...
- dolive (5/50) Apr 30 2009 Sorry, my right and wrong English nation of, also not too acquaint with ...
- hasen (7/12) May 01 2009 I don't really understand .. you are suggesting to use short names or
- dolive (4/20) May 01 2009 Certainly short name is good
- superdan (2/28) May 01 2009 then i guess 95% of my private functions are doShit() and 95% of my publ...
- Steve Teale (2/18) May 01 2009 Undefined identifier - do you mean: "ReallyAVeryBadIdeaInMyHumbleOpinion...
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
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
bearophile д:dolive:yesis soSuggest 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
dolive wrote:bearophile д: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. Andreidolive:yesis soSuggest 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
Andrei Alexandrescu д:dolive wrote: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 getDatabearophile д: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. Andreidolive:yesis soSuggest 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
On Thu, 30 Apr 2009 23:24:24 +0400, dolive <dolive89 sina.com> wrote:Andrei Alexandrescu дµ½: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.dolive wrote: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 getDatabearophile дµ½: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 readsdolive:Suggest the d Language and phobos lib ( And other lib ) assignsin Phobos/Tango?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 thingsI'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. Andreihttp://en.wikipedia.org/wiki/Zipf%27s_law I agree. Bye, bearophileyes£¬is so
Apr 30 2009
Denis Koroskin д:On Thu, 30 Apr 2009 23:24:24 +0400, dolive <dolive89 sina.com> wrote: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 thanksAndrei Alexandrescu дµ½: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.dolive wrote: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 getDatabearophile дµ½: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 readsdolive:Suggest the d Language and phobos lib ( And other lib ) assignsin Phobos/Tango?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 thingsI'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. Andreihttp://en.wikipedia.org/wiki/Zipf%27s_law I agree. Bye, bearophileyes£¬is so
Apr 30 2009
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
hasen д:dolive wrote:Certainly short name is good Primary school student it can know of short name doliveSuggest 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
dolive Wrote:hasen �:then i guess 95% of my private functions are doShit() and 95% of my public functions are doStuff().dolive wrote:Certainly short name is good �� Primary school student it can know of short name doliveSuggest 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
hasen Wrote:dolive wrote:Undefined identifier - do you mean: "ReallyAVeryBadIdeaInMyHumbleOpinionAndTheOpinionOfManyOthers".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