Java or python? I have bases of html css js and php so which is better? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
- 1

Java or python? I have bases of html css js and php so which is better?

i want to develop simple desktop apps

11th May 2017, 11:54 AM
Simone Gramegna
Simone Gramegna - avatar
10 Antworten
+ 4
It depends a lot of your own tastes, and a few of the kind of apps you plan to code ^^ Anyway, Java syntax is nearest to JS and Php than Python... but Python is more easy to take in charge, in addition to be a scripting language so doesn't require a compilation step as Java, wich is semi-compiled ( a pseudo code is generated by a compiler, and interpreted by a virtual machine as a script language, with gain of speed/efficiency ). In short, each one has some advantages and disadvantages over the other, depending on purpose/context/tastes :P
11th May 2017, 12:09 PM
visph
visph - avatar
+ 4
@MM1132: @Simone Gramegna ask for a choice between Python and Java, not as first language, but after having learning Php and JS ^^ However, I don't think that Python would be a bad choice for a first language :P
12th May 2017, 12:13 AM
visph
visph - avatar
+ 3
I don't know: I have experimented Java about android apps, not really about desktop apps ^^ But it's also probably mainly a question of personal tastes :P
11th May 2017, 12:42 PM
visph
visph - avatar
+ 2
Probably Python... from my point of view... but maybe not yours ;)
11th May 2017, 12:20 PM
visph
visph - avatar
+ 2
Then focus on your Python course... it will not be a great waste of time if you're not satisfied, while maybe Java could require most time to fell it.
11th May 2017, 12:32 PM
visph
visph - avatar
+ 1
Never choose python as your first language lol Start with c++!!!!! This is what famous programmers say: "If you can do c++, you can do any other language" Good luck, have fun mate :D
11th May 2017, 9:51 PM
MM1132
MM1132 - avatar
0
but which one between python and java would be more productive?
11th May 2017, 12:17 PM
Simone Gramegna
Simone Gramegna - avatar
0
well with JavaScript and PHP i havent understood OOP programming so i think that for me python would be better but i have doubts
11th May 2017, 12:23 PM
Simone Gramegna
Simone Gramegna - avatar
0
moreover i've seen that tkinter python interfaces are simpler than java swing i think
11th May 2017, 12:34 PM
Simone Gramegna
Simone Gramegna - avatar
0
@visph He said that he has the bases.. so I guess he is choosing his/her first language. For desktop apps I would choose Java 100%. xD
12th May 2017, 8:35 AM
MM1132
MM1132 - avatar