Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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

by btrott (Parson)
on Apr 07, 2000 at 20:23 UTC ( #7132=categorized answer: print w/replies, xml ) Need Help??

Q&A > object-oriented programming > what is the best way to learn to program? - Answer contributed by btrott

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 Answer: 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?

What's my password?
Create A New User
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2018-06-25 18:38 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (128 votes). Check out past polls.