Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: what is the best way to learn to program?

by btrott (Parson)
on Apr 07, 2000 at 20:23 UTC ( [id://7132]=note: print w/replies, xml ) Need Help??


in reply to what is the best way to learn to program?

I agree generally with chromatic's answer, although "just sitting down and programming" could, I think, seem like a relatively daunting task for someone who's never programmed at all. :)

I came in to Perl already quite familiar with C++, so from that perspective I already learned a lot of the basics of programming; the sort of concepts that can apply to any language. If you're not familiar with those, I suspect it's a bit more difficult to just sit down and learn a new language *and* how to program, in general.

I think I'd recommend a beginning programmer's book, such as Elements of Programming with Perl. From there you can learn the basics, and once you've learned those, I agree completely with chromatic: learn new things by finding problems you want to solve, and jump right into solving them. Don't be afraid to look at other code (but try to find good code, not code that hasn't been touched since Perl 4 was in its heyday). One source for good code, I think, is Randal Schwartz's Web Techniques column. Practical, applied uses of Perl. Start with the first few, then work up to the later (more complicated) scripts. The Unix Review columns are good too.

  • Comment on Re: what is the best way to learn to program?

Replies are listed 'Best First'.
RE: Answer: what is the best way to learn to program?
by merlyn (Sage) on May 03, 2000 at 18:54 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://7132]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-09-14 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (21 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.