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 07-27-2003, 05:05 PM   #1
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Rep: Reputation: 50
how do you learn?


Ok, so, I'm psoitivly thrilled about computer languages, and the stuff I can do with them and the fact that if I learn a bunch I will be a source of never-ending knowlege... ((rant...rant...rant..)

But, I find it really hard to learn stuff off a online tutorial (ie, sitting down with it at the computer) What I found useful for my first language (humble html) I had a book, generously from my parents for christmas. I read it through before doing anything, but with online tutorials, you kinda need to follow the examples to pick anything up.

So, (i can hear you) you're saying: buy more books! But as you all know, they can get pretty expensive. And I have to get them myself now. Second problem: I live in Bolivia, SouthAmerica, so, no english books, second: heavy books not good for luggage restrictions.

So how do you learn a new language, and keep on learning in that language. I'm talking day one hour one stuff. as in: not knowing anything about the language before you start.

thanks

titanium_geek
 
Old 07-27-2003, 05:09 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Have a project or target, it'll really drive you. I learned a lot fast by trying to mimic a few apps I used a lot, both in gui layout and actual functions.
 
Old 07-27-2003, 06:11 PM   #3
lackluster
Member
 
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Rep: Reputation: 30
just dive right in. surround yourself with books & online tutorials on the subject and learn through osmosis. or (if you wanna be a wimp ) you could just take Proud's advice .....
 
Old 07-27-2003, 06:17 PM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Hey, would you rather make yet another Hello World app, or work out how an app switches mods for your fav game?
 
Old 07-27-2003, 06:35 PM   #5
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
I would recommend 1 good book like The C Programming Language by Ritchie and Kernighan. If you get a really good book like that you will only ever need 1. But if books are not an option (as it may sound)...

Write Code. Read Code.

That is about as simple an instruction as any, but it works! Read good code and like others have said, try to mimic some simple apps. Start with "Hello World" and then I would try to make your own GREP clone if you are doing C, or something like it. Good luck!
 
Old 07-27-2003, 06:48 PM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
read read read practice practice practice
 
Old 07-27-2003, 07:02 PM   #7
epicurus
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Rep: Reputation: 0
I agree with peace.. reading and writing code is the best way to do it. Find somewhat small program that does what you want to do, and rifle through it. Try to change little things here and there.
 
Old 07-27-2003, 07:40 PM   #8
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
Like most i've found that i learn best through a lot of practice. Lots and lots of coding. Wether it's through books, online tutorials, etc...

Last time i checked i had over 300 sample C++ programs in my C++ directory
 
Old 07-27-2003, 08:23 PM   #9
MiscGeek
Member
 
Registered: Jan 2003
Location: Georgia, US
Distribution: RHEL WS4
Posts: 189

Rep: Reputation: 30
I also agree with peace at least if you already understand the basics of logic, flow control, etc.. If not that would be the place to start

Once you have the basics down and can code fairly well in one language, learning a new one will be easier. It's just a matter of learning the syntax.

Have fun!

Mike
 
Old 07-27-2003, 09:03 PM   #10
moeminhtun
Member
 
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
Re: how do you learn?

Quote:
But, I find it really hard to learn stuff off a online tutorial (ie, sitting down with it at the computer) What I found useful for my first language (humble html) I had a book, generously from my parents for christmas. I read it through before doing anything, but with online tutorials, you kinda need to follow the examples to pick anything up.

titanium_geek [/B]
I've also never read online tutorials on the computer unless it is very necessary or emergency. It's so boring.
If I find some interesting online tutorial or book or something, I just print it out the whole thing and staple chapter by chapter.
For example, I printed "Thinking in Java" out, the whole book, and stapled chapter by chapter. When I go out, I just take a chapter and read on the bus, the train or whenever I'm free. A chapter is quite thin (about 15 to 30 cheets) and it's very convenient to bring along with you wherever you go. And it's more convenient than a book in this case.
(But I also bought "Thinking in Java" printed book because I want to have it on my book-shelf.)
 
Old 07-28-2003, 03:28 AM   #11
DIYLinux
Member
 
Registered: Jul 2003
Location: NL
Distribution: My own
Posts: 92

Rep: Reputation: 18
Books are best, yo can read them while hanging in a lazy chair. Second best are descent print outs. A lot of good stuff is available, here are just some:

1. Glibc info documentation (installed under /usr/share/info). Tells a lot about UN*X internals.
2. Some of the Linux HOWTO's, available at www.tldp.org. Check the advanced bash scripting and secure programs HOWTO.
3. Common Lisp the Language, 2nd ed. by Guy L. Steele (available online for free, see www.lisp.org)
4. The source code for gtk+ (www.gtk.org) Interesting, goodloking stuff. Bit advanced, shows how to implement OO type systems in C.
5. RxRS (x=2..5) The Revised Report on Sheme. This is the language spec. (use google, or go to www.scheme.org)
6. Python comes with full set of documentation. Perhaps a good start; Python is good as a first language.
7. Visit http://citeseer.nj.nec.com/cs. Here is a lot of info on computer science, algorithmsm, etc.

When selecting documents, prefer postscript or PDF versions for printing. Use a2ps to turn htmp and manpages into postscript.

Happy reading.
 
Old 07-28-2003, 06:50 AM   #12
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Original Poster
Rep: Reputation: 50
thanks.

The thing that would bug me about the online tuts is that you would learn the absolute basics (like: learn this to do this, who cares if you know what it does) and still not be much more the wiser. (I have learned html, mucked about in basic and javascript and am trying to learn python, before moving on to java BTW)

Print outs are the way to go (for learning, and bugging the other people in the family wanting to use the printer... :-] )

Or maybe my googling skills are so bad that I haven't found many good tutorials yet.

titanium_geek
 
Old 07-28-2003, 11:19 AM   #13
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
Excellent Python tutorials are not too difficult to find.

http://www.python.org/doc/Newbies.html

BTW Python is a great language, good choice!
 
Old 07-28-2003, 11:53 AM   #14
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
I agree with peace (that's not hard to say ), of course. Python is definitely the best first programming language out there.

Online documentation for it is excellent and much cheaper than buying books. Some of the best coders I know have few (if any) programming books, and get most of their material online.

Having a project as a target for learning is an excellent idea as well. That's how I learned a lot of good Python stuff. And I learn more by trying out new concepts, but it really sticks when you can use it in a project that turns out to be genuinely useful.
 
Old 07-28-2003, 11:55 AM   #15
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
yeh, books are expensive. I was at barnes and noble the other day looking around the unix section, all the books from oreilly were at least $40
cdrom.gnutemberg.org/python/tut.pdf
http://www.python.org/doc/tut/tut.html

Last edited by darin3200; 07-28-2003 at 11:59 AM.
 
  


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
The best way to learn? iz3r Programming 7 02-06-2005 11:00 PM
Do you really need to learn C before C++? qcoder Programming 31 12-04-2003 10:10 AM
What should i get to learn? Any Solaris / OpenSolaris 1 02-18-2003 06:19 PM
I would like to learn how to do it tournesol Linux From Scratch 2 10-07-2002 10:07 PM
How to learn more? R2RO Linux - Software 5 08-31-2002 08:15 PM

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

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