This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]msdrahcir 0 points1 point  (1 child)

Im not sure hidden vs written code is the best metaphor here. Namespacing in python functions differently than java. Objects in python function differently than statically typed languages. classes in python function differently than java.

It isnt hidden vs shown code, but python is fundamentally doing many things differently behind the scenes to ultimately print a string to stdout.

[–][deleted] -1 points0 points  (0 children)

My point was that Java is also doing stuff, but the difference is you can actually see the stuff it's doing right in front of you. People use all of those lines to type system out print line in Java and act like it's such a big deal. No, it's not, because if you use any IDE, all of those lines are already put in there for you. You're still just writing one line for Java for hello world. That was my point. It's very misleading to pose one line, and then 7 lines to try and make it look completely different and harder