LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-03-2004, 05:39 AM   #1
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
What is the best programming language to learn


Hi

With so many programming languages out there, I find it a bit overwhelming choosing one to learn. Can anyone give me some suggestions given that I would like to program on windows and linux.

I know a bit of C and Java already.
 
Old 12-03-2004, 09:50 AM   #2
shmonkey
Member
 
Registered: Nov 2004
Location: UK
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
It's really a matter of personal taste.

As you know a bit of C I would say learn this in more detail. I think C is powerful language to learn and fits in well with Linux. After you have spent some time mastering C I would suggest learn an objected orientated language say Python or C++. I am not a fan of Java but again that's just my opinion.

Note that C++ although widely used, does not force you to program in an oop style it just has support for oop.

IMHO it is not just worth learning the syntax of an oop language but you need to learn how to design your code to fit in with the oop methodology.

Smalltalk is a good language for oop as it is purely an oop language.

As for programming in Linux and Windows I would choose to use the GTK toolkit - google gtk, glade(interface designer) and anjuta (IDE) for more details.

Regards

Shmonkey
 
Old 12-03-2004, 10:03 AM   #3
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
I personally think C++ is a good one to learn. It has object oriented concepts and you have to learn pointers, memory management (all those good stuff). I have seen too many cases where Java programmers have no clue about those basic programming knowledge. C++ programmers ususally can learn Java pretty quickly, but not the other way around.

But that for learning how to program, for big software applications development, Java is the better than C++.
 
Old 12-03-2004, 10:45 AM   #4
phlx
LQ Newbie
 
Registered: Nov 2003
Posts: 10

Rep: Reputation: 0
for compiler languages -> c/c++ has the widest capabilities
for interpretted, I'm just beginning to learn perl as we speak, but I'm likin it (its very powerful with regular expressions)
 
Old 12-03-2004, 11:00 AM   #5
henryg
Member
 
Registered: Aug 2003
Location: London, England
Distribution: Slackware 10.2
Posts: 182

Rep: Reputation: 32
brainf*ck is the best language
don't listen to noone else :P

>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-] <.>+++++++++++[<++++++++>-]<-.--------.+++.------.--------.[-]>++++++++[<++++>- ]<+.[-]++++++++++.


Last edited by henryg; 12-03-2004 at 11:04 AM.
 
Old 12-03-2004, 06:02 PM   #6
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Original Poster
Rep: Reputation: 31
OK thanks guys, I might learn a bit more about C++
 
Old 12-03-2004, 07:49 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
It also depends on what you want to do -- C is THE system programming language, C++ and Java are application programming languages, and there's Perl, Python, etc. for scripting. This isn't meant to "typecast" languages, but to illustrate what they are generally used for.

Another thing is don't learn a language, learn to program -- there's a difference. As a professor of mine once said (paraphrasing), languages come and languages go, but the fundamentals remain the same. So learn a bit about algorithms, data structures, computer organization, etc. Play with these concepts in multiple languages. That way you're not tied to just one, so you're not stuck if it goes out of fashion.
 
Old 12-04-2004, 05:28 AM   #8
Dowski02
LQ Newbie
 
Registered: Dec 2004
Location: Holland
Distribution: FC2,FC4_64
Posts: 10

Rep: Reputation: 0
I' m still quite a n00b to programming, but taking ESR' s advice to learn the fundamentals with Python has worked out well for me... I like it a lot, especially the syntax. It has helped me understand bash scripting and javascript better, as well as object oriented programming. If you're a total nOOb (like me) this might be a good start.
 
Old 08-27-2007, 11:47 PM   #9
wishmeluck
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
What is the best programming language?

Let this answer your question:

best-programming-language.blogspot.com
 
Old 08-28-2007, 10:23 AM   #10
IvanX
LQ Newbie
 
Registered: Jun 2007
Location: Bulgaria
Distribution: Slackware 11.0
Posts: 1

Rep: Reputation: 0
I recommend python - easy and fast to learn, with large documentation.
 
Old 08-28-2007, 11:57 AM   #11
PerpetualNewbie
Member
 
Registered: Dec 2006
Location: Kokomo and Muncie, IN
Distribution: Slackware 11.0
Posts: 36

Rep: Reputation: 16
I'm going to recommend either Scheme or C++...just because of my own personal experience. Scheme gave me a new perspective on programming and helped me understand how everything works, and, IMO, made it significantly easier to understand most other languages. C++ is the next best thing though.
 
Old 08-28-2007, 11:58 PM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
To Phlx: FYI, Perl isn't intepreted, it's actually 'compiled' (sort of) at the start and the 'compiled' version is then run.
Read http://www.perl.com/doc/FMTEYEWTK/comp-vs-interp.html if you really want to know.
Anyway, the net upshot is that (for the same algo), it's about 80-90% as quick as C.
 
Old 08-29-2007, 12:52 AM   #13
teabag_46
Member
 
Registered: Aug 2007
Posts: 35

Rep: Reputation: 15
Pascal might be a good idea! I know that it's an old language, and that it is not really used now, however, it is good to learn, because it teaches
proper program structure, and includes functions and nearly everything else that is in c/c++. Colleges/universities here in the UK still teach Pascal for those reasons.
 
Old 08-30-2007, 06:36 AM   #14
PerpetualNewbie
Member
 
Registered: Dec 2006
Location: Kokomo and Muncie, IN
Distribution: Slackware 11.0
Posts: 36

Rep: Reputation: 16
When it comes down to it, if you're really "serious" about programming, always go with a language that forces you to learn data structures, etc, because there are a few that do all the work for you, and make it much harder to learn new, more powerful languages. It's easy for someone who is good at C++ to pick up Java in no time, but the other way around, not so much...It's sad that many schools are cutting out these essential low-level languages in order to increase graduation rates here in the States. Good luck!
 
Old 08-30-2007, 06:53 AM   #15
pakanek
LQ Newbie
 
Registered: May 2006
Posts: 5

Rep: Reputation: 0
There is no universal language. Programming is also about choosing right language for exact task. Python is probably good to start with. You can use it further for common apps, GUI, fast development etc. But you will usually need more than one language.
 
  


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
What Language Should I Learn? KungFuHamster General 45 04-25-2006 02:10 PM
Which C language to learn? Heiland Programming 10 08-14-2005 08:03 AM
Looking to learn PHP as a first language, Need sources dns21 Programming 6 12-19-2004 11:03 PM
What is the best language to learn for someone who wants to help develop the kernel? Fabyfakid Programming 3 10-07-2004 10:12 AM
Is Python a good language to learn for a newbie to programming? prophet621 Programming 2 05-19-2003 03:48 PM

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

All times are GMT -5. The time now is 10:39 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