aspose file tools*
The moose likes General Computing and the fly likes C++ vs Python Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "C++ vs Python" Watch "C++ vs Python" New topic

C++ vs Python

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Hi all.
I am thinking to learn anothor programming language to extend my knowledge.
of course, my major "default" language is Java, and before learning Java, I have learned C++.
I asked my friend about C# and he told me :
C# will be boring for you because (about 90% of C# is derived from Java).
So, I found Python, and from I found that is a general-purpose, OO language.
what do you think about python ? is it worth learning ? how much it is powerful ?
will it help me in my career (Java developing and Java web technologies) ?
I have read from "Thinking In Java" by Bruce Eckel, that Java & Python are great combination.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
I've done C++ in the past, as well as C, Pascal, Assembler, Cobol and now Java.
I too wanted to expand my repertoire (when you're too old to be curious you're dead) and like you stumbled upon Python.
Started reading bits here and there about 2 weeks ago, got me some books last week.
Starting to like it quite a bit.
Whether it enhances your career directly is hard to say but I think that knowing more languages and philosophies will make you a better programmer even if you never use those languages in anger.
I've not yet tried using Python scripts inside Java apps, first getting to know the language proper a bit better (though I have some ideas for a project lined up in my head).

fred rosenberger
lowercase baba

Joined: Oct 02, 2003
Posts: 11231

there is also something called "jython". it lets you use java inside python (or maybe python inside java, i can never remember which way it is). but it seems to give you the best of both worlds.
I don't know much about it - just that a guy here has a sandbox he plays in with it occasionally. Seemed pretty cool, from what i remember.
[ March 15, 2004: Message edited by: fred rosenberger ]

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Moving this to the General Computing forum...

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
wouldn't this fit better in the scripting languages forum?
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
I don't know if python helps with your career or not. My way of thinking is not about learning a new language per se. I can confidently pick up a new language relatively quick. I think the learning a new language helps increase your programming skill, learning a new language gives you a differnt view on how to resolve a problem. I think that makes a better programmer, hence, better career.
It is sorta covered in the JavaRanch Style Guide.
subject: C++ vs Python