Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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

by chromatic (Archbishop)
on Apr 07, 2000 at 19:01 UTC ( #7124=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 chromatic

The way I learned to program was by sitting down and programming. Seriously.

One thing that helped me was typing in a short program from a book or a magazine, and then changing it to add features or do different things. If you start with a well-designed program and keep it up, pretty soon you'll absorb good programming.

That said, there are a couple of good books from O'Reilly and Manning Press that I would recommend. Learning Perl is one, and Elements of Programming with Perl is another. (The latter is my preference, as it teaches both Perl and programming.)

Also, Perl comes with a load of good documentation, available by typing 'perldoc perldoc' right at the command line. You can learn most of the language from there (but much of it assumes you're already fairly familiar with programming in general)

  • Comment on Answer: what is the best way to learn to program?
Log In?

What's my password?
Create A New User
[jedikaiti]: :-)
[AnomalousMonk]: LanX: Of course the asteroid! There is/are no god(s).
erix suddenly wants to hear My Sweet Lord once more

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (15)
As of 2017-11-22 17:19 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (327 votes). Check out past polls.