473,761 Members | 8,651 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java or C++?

Hello, I was hoping to get some opinions on a subject. I've been
programming Python for almost two years now. Recently I learned Perl,
but frankly I'm not very comfortable with it. Now I want to move on
two either Java or C++, but I'm not sure which. Which one do you think
is a softer transition for a Python programmer? Which one do you think
will educate me the best?
Jun 27 '08 #1
29 2349
in 342367 20080414 074410 s0****@gmail.co m wrote:
>Hello, I was hoping to get some opinions on a subject. I've been
programming Python for almost two years now. Recently I learned Perl,
but frankly I'm not very comfortable with it. Now I want to move on
two either Java or C++, but I'm not sure which. Which one do you think
is a softer transition for a Python programmer? Which one do you think
will educate me the best?
C++ is for masochists. Go for Java.
Jun 27 '08 #2
On Apr 14, 12:21 pm, Bob Martin <bob.mar...@exc ite.comwrote:
in 342367 20080414 074410 s0s...@gmail.co m wrote:
Hello, I was hoping to get some opinions on a subject. I've been
programming Python for almost two years now. Recently I learned Perl,
but frankly I'm not very comfortable with it. Now I want to move on
two either Java or C++, but I'm not sure which. Which one do you think
is a softer transition for a Python programmer? Which one do you think
will educate me the best?
Certainly Java. It's also easier to find Java jobs than C++ jobs.

Jun 27 '08 #3
On Apr 14, 11:44*am, s0s...@gmail.co m wrote:
Hello, I was hoping to get some opinions on a subject. I've been
programming Python for almost two years now. Recently I learned Perl,
but frankly I'm not very comfortable with it. Now I want to move on
two either Java or C++, but I'm not sure which. Which one do you think
is a softer transition for a Python programmer? Which one do you think
will educate me the best?
Well if you need an easier transition, go for java. But personally i
would recommend you to go for C/C++. There are a few very solid
reasons for that.
1. You can still use ur python konwledge, integrate python with you
applications, extend python with C/C++ .. and so on. That would not
only benefit you but the whole community.
2. C/C++ is likely to teach you more things in this transition than
java will. You probably know all the good software engineering stuff
and things like that maybe, (which you can still use in python) but
going to C/C++ you can actually delve into systems programming and
things like that. When you do that, again, you can extend python and
contribute to the community.
3. When you get hold of c/c++, there will be lesser friction in you
forever to transition to any other language. I appriciate that you
chose python in the first place since that is what i advocate as
well ... the way i see programming should be taught or taken up is
like :
bash/shell scripting -python/perl -c/c++ -assembly .... (from
there on, given you give enough time to the end parts, you should not
have any difficulty going to C#/Java/VB/Delphi or whatever for some
nice RAD or even production level performance not-so-critical
applications). So if you're intrested in system programming getting to
know how things get done, have a SOLID computing background and give
python what python gave you, go for C/C++.
Jun 27 '08 #4
s0****@gmail.co m a écrit :
Hello, I was hoping to get some opinions on a subject. I've been
programming Python for almost two years now. Recently I learned Perl,
but frankly I'm not very comfortable with it. Now I want to move on
two either Java or C++, but I'm not sure which. Which one do you think
is a softer transition for a Python programmer? Which one do you think
will educate me the best?
if it's for educational purpose, then you have absolutely nothing to
learn from Java. On the hi-level languages side, I'd rather recommend
Haskell or OCaml (functional programming) and/or Erlang (concurrent
programming). And if you want to go the 'close to the metal' way, then
better to learn C.

My 2 cents...
Jun 27 '08 #5
On Mon, 14 Apr 2008 00:49:13 -0700, xakee wrote:
Well if you need an easier transition, go for java. But personally i
would recommend you to go for C/C++.
What's that C/C++!? C and C++ are quite different languages.

Ciao,
Marc 'BlackJack' Rintsch
Jun 27 '08 #6
s0****@gmail.co m wrote:
Which one do you think will educate me the best?
Advanced javascript might teach you something too, and be very useful at
the same time.
Take a look at the Crockford lessons on Yahoo! Video.
http://video.yahoo.com/watch/111593
http://video.yahoo.com/watch/111594
http://video.yahoo.com/watch/111595
http://video.yahoo.com/watch/111596

http://video.yahoo.com/watch/111585
http://video.yahoo.com/watch/111586
http://video.yahoo.com/watch/111587

Jun 27 '08 #7
On Apr 14, 2:24*am, bdsatish <bdsat...@gmail .comwrote:
On Apr 14, 12:21 pm, Bob Martin <bob.mar...@exc ite.comwrote:
in 342367 20080414 074410 s0s...@gmail.co m wrote:
>Hello, I was hoping to get some opinions on a subject. I've been
>programming Python for almost two years now. Recently I learned Perl,
>but frankly I'm not very comfortable with it. Now I want to move on
>two either Java or C++, but I'm not sure which. Which one do you think
>is a softer transition for a Python programmer? Which one do you think
>will educate me the best?

Certainly Java. It's also easier to find Java jobs than C++ jobs.
Depending on the field, that is.
Jun 27 '08 #8
On Apr 14, 1:44*am, s0s...@gmail.co m wrote:
Hello, I was hoping to get some opinions on a subject. I've been
programming Python for almost two years now. Recently I learned Perl,
but frankly I'm not very comfortable with it. Now I want to move on
two either Java or C++, but I'm not sure which. Which one do you think
is a softer transition for a Python programmer? Which one do you think
will educate me the best?
It depends on your reasons for learning either. If you're targeting a
specific job market, find out what is prevelant in that market. And
keep in mind that if it's for a job, you'll also have to get up to
speed on the relevant libraries and frameworks.

If it's educational, I'd recommend C++ just to learn about pointers
and memory management, so you get a better idea of what's going on
under the covers in languages like Java and Python and Ruby and C#.
Jun 27 '08 #9
Hello, I was hoping to get some opinions on a subject. I've been
programming Python for almost two years now. Recently I learned Perl,
but frankly I'm not very comfortable with it. Now I want to move on
two either Java or C++, but I'm not sure which. Which one do you think
is a softer transition for a Python programmer? Which one do you think
will educate me the best?
I can't say from personal experience (it was C, C++, then Python for me)
but I think you'll find Java very annoying, especially if you value
Python for elegance. Both C++ and Java have different philosophy than
Python, but C++ is better designed and more flexible.

As for the 'number of jobs' argument, sure there are more Java jobs but
this is offset by the number of Java programmers.

Cheers,
Greg
Jun 27 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
6813
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what the issue is. Thanks Ravi
1
6918
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
11
9269
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in C++. I find my self sometimes, trying Object app = Object(); Object *app = Object(); Object app = new Object();
0
5655
by: mailkhurana | last post by:
Hii , I am trying to use a type 2 driver to connect to DB2 0n AIX 5 I have a small java test to class to establish a conneciton with the db .. I am NOT using WAS or any appserver When I try to connect to the DB I get the following exception at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2120)
1
9651
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej and I was wondering if anyone here would be able to give me some tips for young players such as myself, for learning the language. Is this the best Newsgroup for support with JAVA?
12
5924
by: Mark Fink | last post by:
I wrote a Jython class that inherits from a Java class and (thats the plan) overrides one method. Everything should stay the same. If I run this nothing happens whereas if I run the Java class it says: usage: java fit.FitServer host port socketTicket -v verbose I think this is because I do not understand the jython mechanism for inheritance (yet).
0
3282
by: jaywak | last post by:
Just tried running some code on Linux (2.4.21-32.0.1.EL and Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)) and Windows XPSP2 (with Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)) and in both cases, get the following list returned from calling getDeclaredFields() on java.lang.ClassLoader via this code snippet: Field fields = loaderClass.getDeclaredFields(); for (int i = 0; i <...
1
4307
by: jaimemartin | last post by:
hello, I want to validate an xml by means of a schema (xsd). To do that first of all I´m using a SchemaFactory. The problem is that if I run the code in Windows all works fine, but If I run it in Linux there is an error. The code that fails is the following: SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI); I´m sure that code is ok. In fact, I´ve found that in several...
0
3286
oll3i
by: oll3i | last post by:
package library.common; import java.sql.ResultSet; public interface LibraryInterface { public ResultSet getBookByAuthor(String author); public ResultSet getBookByName(String name);
0
9531
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9957
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7332
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5229
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3881
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3456
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2752
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.