Comment
Comment by Zababa
About Java vs Python, modern Java would be:
Python would be:
The big difference seems to be that ArrayList is not a "default" data structure in Java, but it is in Python. While I like the Python example better, I'm not offended by the modern Java.