Ucnt
-
My brain says this "ucnt" variable is short for "user count".
But my gut says that the contractor was trying to send someone a subliminal message.
-
Re: you cunt
Why not just name it count? or userCount? or numUsers?
-
I do
select count(*) as cnt
a lot. Sometimes I'm like "Hmm.. maybe I should change that to 'ct'", but I usually don't think of it.
-
-
@morbiuswilters said:
I do
select count() as cnt
a lot. Sometimes I'm like "Hmm.. maybe I should change that to 'ct'", but I usually don't think of it.
Why notselect count(
) as cunt
?
-
@Ben L. said:
@morbiuswilters said:
+1I do
Why notselect count(*) as cnt
a lot. Sometimes I'm like "Hmm.. maybe I should change that to 'ct'", but I usually don't think of it.select count(*) as cunt
?
-
Purely in the Interests of Science™, I did a grep -r cunt on one of my inherited codebases. It did not disappoint—
$ttlProduct_cunt=count($con->getAllDatas($parameter,'products_tbl',$condition,$left_join,'','','','','','','','',0));
-
@SamC said:
Purely in the Interests of Science™, I did a grep -r cunt on one of my inherited codebases. It did not disappoint—
$ttlProduct_cunt=count($con->getAllDatas($parameter,'products_tbl',$condition,$left_join,'','','','','','','','',0));
Does Nagesh work for your company?
Also, wow, that is some really awful looking code. Default parameters, anyone? How about SQL injection? A DB layer that prevents you from writing actual fucking queries?
-
@morbiuswilters said:
@Ben L. said:
Why not just name it count? or userCount? or numUsers?
Or
cuntUsers
?Because if you name it cuntUsers you have to count dickUsers also. Curious - do "cuntUsers" have a dick which uses a cunt, and "dickUsers" have a cunt and used a dick? In that case, what about "handUsers", "dildoUsers", etc.
-
@AndyCanfield said:
@morbiuswilters said:
@Ben L. said:
Why not just name it count? or userCount? or numUsers?
Or
cuntUsers
?Because if you name it cuntUsers you have to count dickUsers also. Curious - do "cuntUsers" have a dick which uses a cunt, and "dickUsers" have a cunt and used a dick? In that case, what about "handUsers", "dildoUsers", etc.
What about "administrativeUsers"?
-
I'm reminded of this:
-
@Ben L. said:
@AndyCanfield said:
I believe that case has been adequately covered by the preceding options.Because if you name it cuntUsers you have to count dickUsers also. Curious - do "cuntUsers" have a dick which uses a cunt, and "dickUsers" have a cunt and used a dick? In that case, what about "handUsers", "dildoUsers", etc.
What about "administrativeUsers"?