+ 1

Does anyone use C# or Java and is able explain the advantages of Python over those languages?

2nd Apr 2016, 6:09 PM
Michael
3 ответов
+ 1
In depends on what you are trying to achieve. If you are targeting the Microsoft .NET platform (Windows apps, Windows Phone, XBox, etc.) then you should go with C#. If you are into Android development, then definitely choose Java.
23rd May 2016, 12:10 PM
James Flanders
+ 1
There is so much differences betwen them and the advantages are relatives to your needs. One is that Python is a dinamic language and c# and java are statics, it means that you have not to declare the type of the variables everytime you need to change or call it. It remains of that type. ex: #python myvar = 5 #the type is automatically set to "int" myvar = 3.0 #the type is autom. set to "float" myvar = "LoL" #the type is autom. set to "string" def func(x): print myvar #it prints to the output the last definition of the myvar variable without the need to re-declare it, and in this case is of type "string" and it will print "LoL" #csharp int myvar; #you must declare the type "int" myvar=7; #and then set the value, it can't obviously be a string or any other type, just the one you declared before. #you can do it shorter int myvar=7; # but everytime you change or call it you have to declare the type again static void func(int myvar); #to call the var as an argument of a function you need to declare the type again
15th Jun 2016, 1:26 PM
Marco Romanin
Marco Romanin - avatar
0
The main advantage to python is that it is such a "high level" language. You can read it and pretty much understand it with very little programming knowledge.
15th Jun 2016, 10:09 PM
Jeremiah
Jeremiah - avatar