LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-03-2004, 01:54 PM   #1
Smoo
Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
Linux and programming newbie


I've never used linux or programmed before but i'm planning on doing both soon. I was just wondering what the best and most popular programming language is for linux and also do you have to do it differently than on windows? For example, would i have to buy a linux specific programming book or would any programming book do?

Thanks
 
Old 02-03-2004, 02:02 PM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
If you are new to programming and want to learn a language that helps you get the basics of coding/scripting down, I suggest PHP. It is designed for web applications but can be used for much more. Once you are comfortable with things like loop structure and function calls you can move on to harder languages. That is the path I have followed, except I started with GW Basic back in the day..
 
Old 02-03-2004, 02:02 PM   #3
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
The beauty of Linux is that you can program in any language of your choice. Be it, C, C++, Java, Perl, Python, Ruby etc. The concept remains the same but a little change is in the ways of doing stuff

You can either buy books or read stuff on line. There is tonnes of info available on the net discussing to shreds how to program in Linux. Use Google and you will find a wealth of info.

Cheers.
 
Old 02-03-2004, 02:04 PM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Well, I would say C and C++ are probably the two most popular languages for linux programming. As far as learning it, learning how to program is C and C++ isn't much different from Linux to Windows. So long as you just use the standard libraries and none of the OS specific libs. There are tons of OS unspecific programming books at your local library or book store that'll help you out. There are also tons of OS specific ones if you want something that'll teach you the linux specific systems calls and what not.
 
Old 02-03-2004, 05:05 PM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Just another comment, I suggest not wasting time learning php, or any of those types of interpreted languages if your goal is acquire program skills.

People don't seam to understand the skill sets of mid/high level programming languages like C, C++, Java (not that javascript crap, real java) are completely different. If you truly want to learn to program you are better off just starting with something that'll allow you to learn the basic theories behind algorithms and learn all the basic programming concepts.

Last edited by jtshaw; 02-03-2004 at 10:13 PM.
 
Old 02-03-2004, 10:10 PM   #6
maillion
Member
 
Registered: Jan 2004
Location: Texas, USA, Terra
Distribution: Debian (currently...)
Posts: 74

Rep: Reputation: 15
Pascal began life at least as a programming language for teaching programming. C and C++ are both standard languages, as long as you don't choose one made by a commercial company (or if you do, set the compiler to use 'ansi standards') C and C++ are cross platform insofar that the source code can be compiled on several platforms as long as you don't use stuff specific to a platform or OS. Good luck!
 
Old 02-03-2004, 10:56 PM   #7
evilchild
Member
 
Registered: Sep 2003
Location: 127.0.0.1
Distribution: *bsd, solaris, gentoo
Posts: 86

Rep: Reputation: 15
I would say to learn program structure, algorithims and linux at the same time, began shell scripting with ksh or bash or even csh (which has a similar c syntax), then once you master shell scripting and learn more linux move on to bigger things such as c or c++ .
good luck

Last edited by evilchild; 02-03-2004 at 10:59 PM.
 
Old 02-04-2004, 10:07 AM   #8
Smoo
Newbie
 
Registered: Feb 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks alot for all your replies, i do already have a very limited knowledge of php already and i spose i'll try having a go at C since theres a dummies book on it
 
  


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
Total Linux Programming Newbie binarybob0001 Programming 4 04-01-2005 03:12 PM
newbie: Linux programming for C++ chanwing Programming 8 02-06-2005 08:26 PM
Newbie: Linux programming for C++ chanwing Linux - Newbie 3 02-03-2005 02:04 PM
Newbie Linux Programming Help Nodin Programming 10 04-20-2004 08:46 PM
Newbie desperate about how to start Linux programming in C sanki_man Programming 5 08-11-2003 05:51 AM

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

All times are GMT -5. The time now is 05:02 AM.

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