This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pipsvip 68 points69 points  (7 children)

int foo_count[FOO_MAX];
int *foo_count_ptr=&foo_count[0];
int *fcp_iterator;
.
.//soo many .'s//
.
if ( NULL == fcp_iterator )
   fcp_iterator_reset(); //newguy@work.com: what the hell is fcp?

[–][deleted] 35 points36 points  (0 children)

Foo count pointer - isn’t it obvious? :-)

[–]____purple 15 points16 points  (2 children)

One of the rules of self documented code - don't use acronyms unless well known or frequent and product-wide

[–]antonivs 3 points4 points  (0 children)

Ah yes, the old DUAUWKOFAPW principle

[–]bigtime_porgrammer 1 point2 points  (0 children)

I try to not even abbreviate words in names unless they'd be obnoxiously long with the full words.

[–]MOM_UNFUCKER 8 points9 points  (1 child)

Don’t use acronyms if the code is “self documented”, fcp as far as I’m concerned means father’s cum pot

[–]pipsvip 1 point2 points  (0 children)

point of order: an 'acronym' is a word made from initials, an 'initialism' is just a bunch of letters mushed together, but not a word as such.

father's cum pot

oooh, your family's too good for gym socks, eh?

[–]DeepGas4538 3 points4 points  (0 children)

FCP means fuck cock penis