On Fri, Oct 30, 2009 at 4:56 PM, Christopher Schultz <ch...@christopherschultz.net> wrote: >> Java is for big boys only, isn't it? > > I've heard that recent (even several years old, now) versions of Java > VMs can "match" the speed of compiled C++ for many non-trivial uses. > But, can the Java compiler use its generics features statically > calculate factorials?
No, java programmers which KNOW all the possible values they ever gonna use for a method call, simply REPLACE this method call with a constant. In case they don't know, the compile time class generation from your example doesn't work either. They are saying: In the time java developers picks the gun, the php developer runs away with the prey. And the c developer seems to be thinking about best fitting boots. regards Leon --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org