• 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

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
 
The moth suit and wings road is much more exciting than taxes. Or this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic