From: Daryl Richter Date: 2005-09-16T23:26:02+09:00 Subject: Re: you can't get in trouble with your boss for picking C# Austin Ziegler wrote: > On 9/16/05, Josh Charles wrote: > [snip] >> >>My Point was that you still need to use C (a _strongly_ typed >>language) at some point, > > > C is anything *BUT* a strongly typed language. C is a very weakly typed > language that use some static type analysis for some optimizations. "C is strongly-typed" is indeed a pernicious meme. [Richter@GEN-WAYNE ~/src/c]$ cat weak_type.c #include int main() { int i = 2000000000; int j = 2000000000; int k; k = i * j; printf( "%d * %d = %d\n", i, j, k ); } [Richter@GEN-WAYNE ~/src/c]$ a.exe 2000000000 * 2000000000 = -1651507200 [rest snipped] > -austin -- Daryl "We want great men who, when fortune frowns, will not be discouraged." -- Colonel Henry Knox, 1776