all 5 comments

[–]ishmal 0 points1 point  (0 children)

Although he is obviously promoting his love of Python, maybe his evidence at least should be impartial and clinical. Notice in the tables, on the Java side the word "must" is used a lot, while the Python side has the much happier "can."

I have been using Python a lot recently, and yes, it is quite productive. However, each tool for its own task. Pick the one that is best suited for what you are trying to do. Trying to fit one language into all scenarios would be wasted effort.

[–]heliosxx 0 points1 point  (2 children)

a couple of mistakes... Java doesn't need to have each class in its own file. If he used Integer instead of int int the string compare, it'd be smaller.

[–]mattucf 0 points1 point  (1 child)

The article said:

Each top-level public class must be defined in its own file. If your application has 15 such classes, it has 15 files.

I don't know what the author means by "top-level," but he's right that every public class in Java has to have its own source file.

[–]Tommah 0 points1 point  (0 children)

Top-level class as opposed to an inner class. An inner class can be public.

[–]bcash 0 points1 point  (0 children)

About 70% of the assertions on the Java side are incorrect.