0

java and python which is best

programming

1st Jul 2017, 9:27 AM
DESMOND BROWN (KALI)
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.
1st Jul 2017, 9:53 AM
Dev
Dev - avatar
+ 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.
1st Jul 2017, 10:01 AM
Ahri Fox
Ahri Fox - avatar
+ 1
@DESMOND There are modules for Python for GUI's, but it's better suited for background work. Java is better in that regard.
1st Jul 2017, 9:52 AM
Sapphire
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.
1st Jul 2017, 9:33 AM
Sapphire
0
so which has an advantage in gui programming
1st Jul 2017, 9:39 AM
DESMOND BROWN (KALI)
0
so what about networking and pentesting
1st Jul 2017, 9:54 AM
DESMOND BROWN (KALI)
0
thanks
1st Jul 2017, 10:14 AM
DESMOND BROWN (KALI)
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.
1st Jul 2017, 1:58 PM
Venkatesh Pitta
Venkatesh Pitta - avatar