LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-14-2010, 10:42 PM   #1
LazerPhreak
Member
 
Registered: Dec 2009
Location: USA
Distribution: Ubuntu Server / Desktop / UNR
Posts: 117

Rep: Reputation: 17
Help me learn to program.


Hello all!
I am delving into the world of programming head first, but first, I would like input from others. I think I am going to start with python. Good / bad? Why? Good places for tutorials? All I can seem to find a tutorial for is for Windows. Yech.

Thanks!
 
Old 02-14-2010, 10:52 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If you're on Linux I'd certainly advise getting competent in bash first.
http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html

That being said, everyone has their own idea of the best language.
There are many trade-offs to consider, use the best tool for the job where possible.

A basic understanding of C is very useful (I've found).
http://www.simonhuggins.com/courses/cbasics/index.htm

In the same group of langs as Python, I like Perl.
http://perldoc.perl.org/
http://www.perlmonks.org/?node=Tutorials

YMMV.
 
Old 02-15-2010, 12:13 AM   #3
penguiniator
Member
 
Registered: Feb 2004
Location: Olympia, WA
Distribution: SolydK
Posts: 442
Blog Entries: 3

Rep: Reputation: 60
Python is a good place to start. It has a very consistent syntax and lets you concentrate on the high level issues of your programming problems. It is designed for readability. Perl is designed for expressiveness, which makes sense given that its creator is a linguist. C is good for learning the particulars of how a computer works. It is often described as a high-level assembly language. Shell scripting will help you learn the tools approach that Unix systems are built on. Learning the shell is actually a very good introduction to programming, because much of what you do in a shell is useful in other programming languages. The shell IS a programming language. It's strange, as programming languages go, but it has a lot to teach you about programming and Unix. It is no laggard either. Serious applications can be coded in shell. I once wrote a custom content management system for three web sites entirely in shell.

I suggest you visit the IRC channels #bash, #python, #perl and ##c on freenode. Pay particular attention to the links provided in each channel's welcome message. You will get pointers to tutorials and other useful resources. You should have no problem locating tutorials more pertinent to Linux from each channel.
 
Old 02-15-2010, 12:20 AM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Not much I can add here but, As for starting to program I would probably start with Shell scripting, or Python. Personally I would go for python as you can take the language and use it for windows, linux, or Mac programming.

As for learning it Apress makes some good books on it. Also the python site has very good documentation.

Best way to learn is just set yourself up with a project and go at it. Try making a simple backup solution or maybe a logging utility that will keep track of all your system changes.
 
  


Reply

Tags
programming, python



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 do I download to learn/program java? M$ISBS Programming 9 10-13-2009 06:37 PM
Learn English with a C program cigarstub Programming 1 09-20-2005 11:53 AM
i want to learn to program... trey85stang Programming 13 01-07-2005 01:22 PM
Want to learn to Program Tenover Linux - Newbie 13 03-28-2003 02:38 PM
any programmers who had to fight hard to learn to program? Flotilla Programming 14 01-21-2003 06:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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