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 08-22-2003, 04:06 PM   #1
jasghar
LQ Newbie
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Rep: Reputation: 0
I want to program but.....


I've started programming in school and what not but never really took it seriously. I want to start somewhere and I’m not too sure where. I need advice where should I start? I was thinking simple bash scripts then maybe perl, and then after struggling with that for a while trying to convert to c. But I don’t know. Any links to tutorials or anything would be helpful. I have a couple of O’Reilly books.
 
Old 08-22-2003, 04:13 PM   #2
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
My advice to you is to start anywhere really..

Bash scripts, C, perl, C++

anywhere...but find something you want to do...and do it.
The only way to learn is to code code code.
 
Old 08-22-2003, 04:14 PM   #3
jasghar
LQ Newbie
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
So i would be a good idea to learn to be a "script kiddy" first?
 
Old 08-22-2003, 04:15 PM   #4
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
Well I wouldn't go THAT far...someone might just hurt you for that pun
 
Old 08-22-2003, 04:15 PM   #5
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
There are many posts on this site and sites around the internet that address this question. It all depends on what you want to do with your programming skills, and how far you have already progressed. A good bet would be a goal of knowing either Perl or Python and C or C++. Here is what languages I learned (in order) :

BASIC, scripting, Python, Java, C

Please search this forum, or else google a search on what languages/tutorials/books would be best for you.
 
Old 08-22-2003, 04:16 PM   #6
jasghar
LQ Newbie
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
any good links for me to start?
 
Old 08-22-2003, 04:17 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Scripts are probably easier to start with since you don't need to compile them. The most difficult thing about just "wanting to program" is thinking of somethign you want to acheive by writing a program.
 
Old 08-22-2003, 04:22 PM   #8
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
FYI a 'script kiddie' is refering to an idiot wannabee 'h4XX0r' who simply uses a premade tool to lever a prefound exploit, basically requiring no 'm4d ski11z' and being very lame. Que ''

Last edited by Proud; 08-22-2003 at 04:25 PM.
 
Old 08-22-2003, 04:46 PM   #9
asb
Member
 
Registered: Jul 2003
Location: portland
Distribution: debian testing
Posts: 68

Rep: Reputation: 15
I was in the same boat a month ago, a BASIC class coupla years ago, but no speakable programming skills. I assumed i knew nothing and picked up an O'Reily C++ book. I just go through page by page programming in as much as possible. Then I switched distros, so I shelved it for a week, but things are moving along again.
 
Old 08-22-2003, 05:19 PM   #10
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Quote:
Originally posted by jasghar
any good links for me to start?
http://www.python.org/doc/current/tut/tut.html

Learn python first. It'll make you a better programmer for doing so.
 
Old 08-22-2003, 05:22 PM   #11
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Respect the whitespace
 
Old 08-23-2003, 02:09 AM   #12
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
Better start programming from python or java, but if you like system side programming, go for C/C++, but the learning curve is more and you will not become productive soon.

You can also learn shell scripting and/or perl, as they are very good.
 
Old 08-23-2003, 06:22 PM   #13
BongFish
Member
 
Registered: Jun 2003
Location: England
Distribution: Slack 9
Posts: 141

Rep: Reputation: 15
Quote:
Originally posted by david_ross
The most difficult thing about just "wanting to program" is thinking of something you want to acheive by writing a program.
I hear ya!

I started learning python a few days ago and I really like it, it's my first language besides some simple shell scripts.

The IDLE interpreter helps a great deal and you can run programs without having to compile them which is good, I'm guessing you can't do that in C or ++.

If you choose to learn Python there are some really great tutorials on the Python homepage and on the pygtk kit for creating GUI's.
The thing I find most usefull is to read the tutorial a bit, choose one of the exercises to complete then try and add features that are beyond your current capability, then read and research more to find out, then move on to another thing. Wanting to learn to add a new cool feature to a little program is much more fun than simply trawling through a tutorial doing exercises that require you to simply look back a page and copy out some stuff.


I just wrote a program that will print your name, convert your date of birth, 31/07 format, into 31st of July format with correct st, rd, nd and it can handle exceptions too. It tells you when how old you will be on your next birthday too, MAN I'M 1337!!!

I can't wait to have the ability to do something usefull!

Last edited by BongFish; 08-23-2003 at 06:24 PM.
 
Old 08-23-2003, 06:30 PM   #14
jasghar
LQ Newbie
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
I found this link around the fourms:
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
Does anyone else know any others?
 
Old 08-23-2003, 10:38 PM   #15
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
http://www.freeprogrammingresources.com/index.html
http://leapster.org/linoleum/
A couple of good programming resources I have found lately. The linoleum web site has an article about good programming style written by Linus Torvalds.
 
  


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
sms program and database in linux web program in windows.. does not see each other.. keikun_naruchan Programming 0 07-06-2005 01:40 AM
Total recovery: Which program? ghost4linux, YaST2? Best drive imaging program? lagu2653 Linux - Software 1 06-20-2005 01:44 PM
Stop java program(threaded program..should end cleanly) rmanocha Programming 4 11-09-2004 09:36 AM
Gtk-Warning but program still works... I close konsole, program closes Laptop2250 Linux - Software 2 11-14-2003 11:18 PM
Viewing program messages when program isn't run from command line? Locura Linux - Software 1 09-27-2003 08:19 AM

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

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