LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-08-2004, 11:22 AM   #1
dawizman
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 119

Rep: Reputation: 15
Which Language?


Ok, first a little background.

I have programmed in the following languages, starting from first to most recent:

BASIC
HTML
Javascript
PHP

Now I am in search of a real language to learn. Im kinda stuck between c, C++ and java. Which one would you reccomend, and what book/sites would you reccomend for tutorials.
 
Old 05-08-2004, 12:18 PM   #2
laceupboots
Member
 
Registered: Dec 2003
Location: Houston
Distribution: Knoppix,lenova yoga 3, Samsung s6 -android
Posts: 307

Rep: Reputation: 30
C++..... here's a link for install:
http://rpmseek.com/rpm-pl/gcc-c\\.ht...%5C:PN:0:0:0:0
here's a link for tutorial:
http://www.cplusplus.com/doc/tutorial/
 
Old 05-08-2004, 12:52 PM   #3
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
if u like system program, i tend to give C a "GO", if u like application design , then C++, if u want platform independence, then JAVA
 
Old 05-08-2004, 06:14 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
C has syntax very similar to PHP (I tried it the other way, C->PHP, but it should be also visible starting from PHP), so C/C++ should be a good idea.
 
Old 05-08-2004, 09:15 PM   #5
bru
Member
 
Registered: Sep 2003
Location: South Carolina
Distribution: Ubuntu, CentOS, BT4, Debian
Posts: 132

Rep: Reputation: 15
I would have to agree with vinay_s_s.
Because it really depends on what your going to be doing.
 
Old 05-08-2004, 11:22 PM   #6
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
>> Which Language?

> it really depends on what your going to be doing.

Yup. Many folks ask the "which language" question around here. Note to future readers of this thread: the more specific you can be about exactly what you want to do (system programming? graphics? sysadmin scripting? GUI apps? network-aware game? etc.) and why you want to do it, the better an answer you'll get. :)

Last edited by johnMG; 05-08-2004 at 11:24 PM.
 
Old 05-09-2004, 01:06 AM   #7
dawizman
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 119

Original Poster
Rep: Reputation: 15
Well, basically I'm looking to do some applications and GUI apps. I'm still only in the 11th grade, but I would like to get a programming language under my belt before I head off to university.

After reading these responces and reading the C++ tutorial posted, I think I may go more in depth with C++. It seems to be able to do what I want to do with it. To tell you the truth, before today I never really knew that certain languages were used for different things.

I think I may also take a look at C. From what I understand I would be able to do some driver development with it.

Anyway, thanks for the reccomendations.
 
Old 05-09-2004, 08:05 AM   #8
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
> Well, basically I'm looking to do some applications and GUI apps.

Since you're interested in using C++ for this, have a look at the TOAD GUI toolkit:
http://www.mark13.org/toad/

It's loaded with good design, and correct use of C++.
 
Old 05-09-2004, 04:13 PM   #9
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
java is good for learning even if you are not going to be sticking with it, I am taking java, C++, and C# simeltaniously at my college, java is the easyest to learn, it has enough real programming in it to teach you and get you thinking right, then there is a lot you can do with it, C++ has a wider spectum of uses, it is a little faster, and you can find a lot of kits or other things to utilize, such as gnome kde or the windows api. but it is not an easy first language, there is a lot of oddities and querks to figure out (I may be shot for saying that) with languages liek java or c# they made things really hady.
 
Old 05-09-2004, 10:17 PM   #10
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
exodist, happy birthday
 
Old 05-09-2004, 10:35 PM   #11
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
Thank you. yep, 21 tomarrow (My time) I can now legally drink.. in a few hours anyway... but of cource I do not really care, alcahole never interested me. I do not like things that effect my brain.. one exception being women :-D
 
Old 05-10-2004, 09:32 AM   #12
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Python as it's a better language than C, C++, and Java for a large portion of applications you would write. Which isn't to say that they don't each have their strengths, it's just that Python is generally a better solution for most problems.
 
Old 05-10-2004, 09:50 AM   #13
andredude
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Distribution: Mandrake
Posts: 48

Rep: Reputation: 15
i agree with exodist, c++ is a great language to know but java is definitely easier to learn, and as a plus it's much easier to learn c++ once you know java (this goes the other way round as well though). some other reasons i would go java:

1. there's a much greater scope of things that you can do easily, with web programming being the big winner here.
2. while you learn, writing the fastest program ever is not the main concern
3. for your specific case, us colleges are now starting to require a java test as an admission requirement (saw this on slashdot yesterday)

you should download the official sun java tutorial and subscribe to the newsletters. as far as books go, sun's 'core java' series is pretty good. the best thing you can possibly have though are the api docs that is downloaded seperate from the sdk, always have these available while coding.

enjoy!
 
Old 05-10-2004, 09:53 AM   #14
irfanhab
Member
 
Registered: Jan 2004
Location: Pakistan
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Posts: 415

Rep: Reputation: 34
I recommend C++ without questions:

C -------------Too OLD
java-------------------not suitable for desktop development, and easier to learn if C++ is known before

But If you really want to learn a language of the future, then go for C#, I know it's a M$ language, but check this out:
http://www.go-mono.org
I will be a important language for linux in future
 
Old 05-10-2004, 12:40 PM   #15
dave_starsky
Member
 
Registered: Oct 2003
Location: UK, Manchester
Distribution: Gentoo (2.6.10-r4) & Ubuntu
Posts: 145

Rep: Reputation: 16
I'd say java is a good place to start learning. It is extremely well documented (some of the best documentation i have seen) on the sun website, and you can learn Object Oriented techniques (which you can with C++ too obviously) and other general programming things, then you can move on to do whichever language you want.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best first language? NotJustANewbie Programming 33 09-04-2005 06:03 AM
D language greg108 Programming 33 11-18-2004 08:53 AM
Which language? scuffell Programming 1 07-01-2004 08:17 PM
which language? 2k. Programming 4 11-04-2003 09:44 AM
Which language is best? awdoyle Programming 16 03-23-2003 07:34 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration