0
java and python which is best
programming
8 Answers
+ 12
It's better if you can use Java for GUI development because most of the existing IDEs support drag and drop type UI building. For example all the major java IDEs, Netbeans, and Eclipse, etc. support creating user interfaces with drag and drop. It is easy from the developerâs perspective and java offers more flexibility when creating UIs than python. I havenât seen any python IDE that support creating user interfaces by dragging and dropping. Also, python is not much focused on building GUIs.
Although, Java is far too better than Python in terms of performance! If you are asking what is best for GUIs, I'd recommend you C#, then Java because C# has a much better user interfaces in WPF.
+ 7
Python is better at that desmond, or at least it's a favorite scripting tool of hackers. I'm sure Java could do it though.
+ 1
@DESMOND
There are modules for Python for GUI's, but it's better suited for background work. Java is better in that regard.
0
Both?
They both have strengths in completely different areas. To say one is better than the other is ridiculous since one is better at one job than the other.
Now, if we're talking about which is easier to learn? This is subjective, but Python is overall, way easier to understand, and the syntax is a lot more efficient. But Java's structure has its purpose.
0
so which has an advantage in gui programming
0
so what about networking and pentesting
0
thanks
0
If you master Python, you can use it natively or on the JVM through jython. Jython is under reasonably active development. In Jython you get access to all the libraries on the JVM as well as the packages of your own Java program.
This way, you can quickly prototype. The prototype serves as a good spec. With Java 9, you get the jshell.
And if you know both, you are slightly more appealing to potential employers than when you have any one on your skills list.
One complements the other nicely. Which is best is heavily decided by task on hand.