Prev: Binary heap "tie breaking" question
Next: CFP: SAS'2010 - 17th International Static Analysis Symposium, Perpignan, France
From: Daniel on 10 Feb 2010 18:01 It would be helpful for me to have an abbreviation of the word "array". Or an abbreviation for an alternate word that means the same thing. I use the word "array" as used in C, Java, or any standard language. I am not afraid of long variable and function names. I generally follow the naming recommendations in "Code Complete". But I also find special abbreviations often to be more memorable and useful, such as cnt for count, ndx for index, pck for pick, lo / hi for low / high, var for variable, rng for range, max / min, etc. And I have some variable names that are so long that it would help me to try abbreviating "array". I was thinking "ara" or "ary", but am not that excited about them, maybe because they have two syllables or maybe because I (and others) am not used to them. Any thoughts? Is there a standard or suggested way to abbreviate the word "array"? I looked in "Code Complete" and searched the internet and found very little mention. Thanks, Daniel
From: Peter Nilsson on 10 Feb 2010 18:41 On Feb 11, 10:01 am, Daniel <google-...(a)ehdp.com> wrote: > It would be helpful for me to have an abbreviation of the word > "array". ... <snip> > I was thinking "ara" or "ary", but am not that excited about > them, maybe because they have two syllables or maybe because > I (and others) am not used to them. > > Any thoughts? ... arr? -- Peter
From: Peter Nilsson on 10 Feb 2010 18:43 On Feb 11, 10:41 am, Peter Nilsson <ai...(a)acay.com.au> wrote: > On Feb 11, 10:01 am, Daniel <google-...(a)ehdp.com> wrote: > > ... > > arr? vec, row, col ray?! ;) -- Peter
From: Moi on 10 Feb 2010 19:19 On Wed, 10 Feb 2010 15:01:32 -0800, Daniel wrote: > It would be helpful for me to have an abbreviation of the word "array". > Or an abbreviation for an alternate word that means the same thing. I > use the word "array" as used in C, Java, or any standard language. > > I am not afraid of long variable and function names. I generally follow > the naming recommendations in "Code Complete". > > But I also find special abbreviations often to be more memorable and > useful, such as cnt for count, ndx for index, pck for pick, lo / hi for > low / high, var for variable, rng for range, max / min, etc. And I have > some variable names that are so long that it would help me to try > abbreviating "array". > > I was thinking "ara" or "ary", but am not that excited about them, maybe > because they have two syllables or maybe because I (and others) am not > used to them. > > Any thoughts? Is there a standard or suggested way to abbreviate the s struct person { int num; char name[111]; date birth; } persons[] = {{ 1, "moi", 123456789} ,{ ... } }; , but this is only possible for non-Hungarian naming. HTH, AvK
From: BGB / cr88192 on 10 Feb 2010 21:02 "Peter Nilsson" <airia(a)acay.com.au> wrote in message news:25dfeb1a-40f4-4d16-8b97-81b8543c1c0b(a)b1g2000prc.googlegroups.com... On Feb 11, 10:01 am, Daniel <google-...(a)ehdp.com> wrote: > It would be helpful for me to have an abbreviation of the word > "array". ... <snip> > I was thinking "ara" or "ary", but am not that excited about > them, maybe because they have two syllables or maybe because > I (and others) am not used to them. > > Any thoughts? ... <-- arr? --> ARR! we be the pirates of the ship in the C!... or maybe capture a booty of fresh Java!... beware of icebergs if you C#!... or such...
|
Next
|
Last
Pages: 1 2 3 4 5 6 Prev: Binary heap "tie breaking" question Next: CFP: SAS'2010 - 17th International Static Analysis Symposium, Perpignan, France |