avva: (Default)
[personal profile] avva
(интересно будет только программистам и сочувствующим, знающим язык C)

Интервьюировал кандидата, который в своем коде на C все время писал так:

for (unsigned i = 0; i < ...


Забавно. Вполне нормальный C, конечно, но в последний раз я видел код, который использовал unsigned, а не unsigned int, где-то в середине 90-х, наверное. Веет от этого кода чем-то старинно-олдскулным.

Date: 2011-05-25 02:41 am (UTC)
From: [identity profile] igorlord.livejournal.com
Implied int return type is depricated in ANSI C but left in the language for pre-ANSI compatibility. On the other hand, "unsigned" and "unsigned int" are defined as synonyms.

There is a huge difference in using a depricated part of the language and a fully supported part.

Date: 2011-05-25 08:08 pm (UTC)
From: [identity profile] vyhuhol.livejournal.com
"depricated" -- это, наверно, «с оторванным prick-ом»

Date: 2011-05-26 02:31 pm (UTC)

December 2025

S M T W T F S
  123 4 56
78 9 10 11 1213
1415 1617181920
21 22 23 24 2526 27
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 29th, 2025 09:23 pm
Powered by Dreamwidth Studios