• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Java vs Python

 
Ranch Hand
Posts: 75
Eclipse IDE AngularJS Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Allen,
I am an java programmer and have heard a lot about python language. I would like to know advantages of python language and is there any similarity between python and java?
 
Author
Posts: 28
Python Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Saumyaraj,

The semantics of Python and Java are very similar, and most of the data structures in the Java collections are either built into Python or available in libraries.

The biggest differences are syntax and dynamic typing. Python uses a minimal syntax that many people find very readable (although it might take getting used to). And with dynamic typing, you don't have to declare variables. Development time tends to be faster in Python, but the compiler can't catch as many errors for you.

For me as a teacher, the biggest difference is that Python is a better first language. I see more of my students succeeding, and doing cooler things, than when I was teaching in Java.

Regards,
Allen
 
But how did the elephant get like that? What did you do? I think all we can do now is read this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic