maeglor: (Default)
[personal profile] maeglor

bool value;



if (value.ToString().Length == 4)
{
...
}
else if (value.ToString().Length == 5)
{
...
}
else
{
throw new ArgumentException();
return !true && !false;
}


Я знаю, что это археологический баян. Но всетаки глядя на этот кусок кода, меня каждый раз неудержимо тянет исерично ржать.

Это к вопросу какие анекдоты рассказывают програмисты. :)
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

March 2017

S M T W T F S
   1234
5678 91011
12131415161718
19202122232425
262728293031 

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 28th, 2026 02:32 am
Powered by Dreamwidth Studios