By Xiaoran Wang
Published: Mar 31 2013 / 13:18
Why can Java can [sick] be more performant than Python?
Seriously, you compare things that are not comparable (entire Java methods VS simple lines of Python, this is ridiculous). Who cares about the "System.out.println" verbosity (in NetBeans, simply type "sout" + TAB) ? Java is: one of the (maybe the, with C++) greatest and biggest ecosystems; very good IDEs (NetBeans, eclipse, etc), a very popular language; a lot of servers, new features (look at Java 7 and 8 VMs) etc. In addition, there are the JVM languages (if you prefer, they are Python killers, like Scala ^_^).
Exactly. Plus some of the examples are really broken - i mean no one is creating list with elements in Java as it is shown in the example. Really this one is poor. ,
So it boils down to java requiring class definition and main method... There are much more important differences between Python and Java to be tackled. But all I've seen is: "ZOMG. Java takes 6 lines for a hello world!!!11!"
Why don't we all use JSP if short hello world's are so important? Python: print "hello world"; JSP: hello world
Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.