5 ms·
When I was teaching my then 14yo the basics of programming, I started him off with python instead of java. It was way easier to explain pip install pygame or wh
by nova22033 5y ago
When I was teaching my then 14yo the basics of programming, I started him off with python instead of java.
It was way easier to explain pip install pygame or whatever than explaining how to import a jar he needs(and all it's dependencies)
- 999900000999 5y agoPython is a generally easier language. name = Input("What is your name ?") print("Hi ",name) That's a working Python program. To do the same in Java requires a ton of boiler plate. I don't think there's a person alive who can write a Java program which compiles from memory alone. I hope I never have to work another job with Java again, most of it's not even the language but the tooling. I was at a shop where we had to use Eclipse. Such a horrible IDE, it's apart of why I left.
- kaba0 5y agoIt’s funny because Java has hands down the best tooling out of any language. I would honestly be surprised if I would be pressing more keys per a given program with IntelliJ, than someone does with a much less verbose language.
- adament 5y agoThis has also been my experience, but to me the detriment of verboseness is not only a matter of writing code, it also means there is a lot of noise when I try to read the code. I guess it might just be a personal preference whether we prefer explicit and typically more verbose or terseness at the cost of more implicit behaviour / magic? At least I am unfamiliar with a language which is both explicit and has no boilerplate.
- jamesgeck0 5y agoFortunately it's not an either/or choice. Python is easier to write, but JVM applications are significantly easier to distribute cross-platform. When you publish a Python game, compiling it to a JAR with Jython is far easier than figuring out x86 and ARM builds for Windows/Linux/macOS.