This question has already been answered:
- Python books and learning resources 1 answer
Are there sites or books with exercises / exercises in Python and Perl? If you know such resources, then give links. I need to practice in these languages. Thank!
This question has already been answered:
Are there sites or books with exercises / exercises in Python and Perl? If you know such resources, then give links. I need to practice in these languages. Thank!
A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .
the best practice is to start doing something real, rather than artificially invented purposeless tasks.
You start to learn the language for what? Do you have any purpose? Or just like that, for the future? If the first, then go ahead. If the second, give up and wait until the target appears
the best practice is to start doing something real, rather than artificially invented purposeless tasks.
I completely disagree with you - in the first class you don’t immediately start reading the War and Peace of Tolstoy or Hamlet in the original, but you start with the basics, with the letters in the primer, how sentences are built, etc. So here, you need a good tutorial. I can recommend Perl books:
Schwartz R., Phoenix T., Brian d Foy - Learning Perl, 5th edition Schwartz R., Foy B., Phoenix T. - Perl. We study deeper. 2nd Edition Larry Wall, Tom Christiansen, John Orvante - Perl Programming Christiansensen T., Torkington N. - Perl. Collection of recipes. For professionals
There are many more books, mostly in English. But these are the best for the beginner. I advise you to start with the book "Perl Programming". At least the introduction and 2 chapters. The style of this book does not imply the execution of exercises, but tells why this language was created and why it is needed. Then you can go to the book "We study Perl", and then - to the book "Perl. We study deeper." There are examples.
“ There is more than one method to do this ” - the motto is Pearl. As a result, the assignment / exercises on the pearl will have several correct answers.
Anton Shevtsov answered you that the best practice is to start doing something real. In this he is certainly right. Why do you need a pearl? If you are faced with a specific task (for example, using the pearl tool to make a selection from a huge log file and calculate something by it), solve just such a specific task. It is clear that the result of the first approach to the task will not be perfect - not terrible: you can set the following goals (for example, make the code more compact / faster / readable) and achieve them.
From my own programming experience (more than a dozen languages ​​plus a bunch of libraries for them - for more than 20 years), I can say that this approach - solving specific problems - is quite workable. On the other hand, the aimless solution of the exercises (if only to solve) does little.
Perl 5 version 14.1 documentation - you won’t find Perl better
http://szabgab.com/perl_tutorial.html Gabor Szabo splints http://en.wikibooks.org/wiki/Perl_Programming/ simple tasks with solutions http://projecteuler.net/ a lot of tasks that are good to solve with program code and check the accuracy of the decision.
https://bitbucket.org/shlomif/project-euler/src/810af966a391/project-euler/ solutions for the first N projecteuler tasks written by Shlomi Fish, the author of many modules on the CPAN http://informatics.mccme.ru/moodle/ opportunity solve the problem and send for execution
The books "Learning Perl" and "Beginning Perl" contain a number of exercises.
Some links are taken from here.
Source: https://ru.stackoverflow.com/questions/69016/
All Articles