|
|
libcats.org
Object Oriented Perl: A Comprehensive Guide to Concepts and Programming TechniquesDamian ConwayThis is a fine book, but the passage of time has rendered some parts of it less relevant.
As an introduction to object oriented programming, and how to do it in Perl, this is one of the best sources you could learn from. Neither The Alpaca nor The Camel do such a good job. And it's not just objects that are well covered. You'll also find lucid explanations of closures, type globs, the symbol table and tied variables, all of which can be considered advanced Perl. Elsewhere, though, the material has not aged so well, superseded by the author's own Perl Best Practices, where some of the recommendations have been reversed, or improved upon ('inside out' classes, for example, as implemented in Class::Std, is a superior development of the flyweight approach mentioned in this book). Some of the material, which concentrates on CPAN modules, and the experimental pseudohashes is not so useful in the light of this - the latter are on course to be removed in Perl 5.10. The sections on building objects using references to things other than hashes (e.g. arrays, regular expressions and subroutines) is clever, but this reader was unconvinced of their utility. There's also coverage of generics, although in Perl this is not much like generics in C# or Java, basically passing around Perl code as uninterpolated text strings and then evaling it inside a subroutine, where any lexical values are interpolated. Finally, there are chapters on multimethods (no more elegant or manageable in Perl than other languages that support this feature, alas) and persistence. The principles discussed remain relevant, and the book is a pleasure to read. However, if you already familiar with OOP and just want to get going as fast as possible, the relevant chapters of Intermediate Perl and Perl Best Practices might be better places to look.
Скачать книгу бесплатно (pdf, 5.08 Mb)
Читать «Object Oriented Perl: A Comprehensive Guide to Concepts and Programming Techniques» EPUB | FB2 | MOBI | TXT | RTF
* Конвертация файла может нарушить форматирование оригинала. По-возможности скачивайте файл в оригинальном формате.
Популярные книги за неделю:
Система упражнений по развитию способностей человека (Практическое пособие)Автор: Петров Аркадий НаумовичКатегория: Путь к себе
Размер книги: 818 Kb
Сотворение мира (3-х томник)Автор: Петров Аркадий НаумовичКатегория: Путь к себе
Размер книги: 817 Kb
Только что пользователи скачали эти книги:
В.П.Белянин. Основы психолингвистической диагностики (Модели мира в литературе) (WinWord)Автор:
Размер книги: 2.01 Mb
Молекулярная биология клетки: В 3-х томах. (Molecular Biology of the Cell. Second edition)Автор: Авторы: Б.Албертс, Автор: Д.Брей, Автор: Дж.Льюис, Автор: М.Рэфф, Автор: К.Робертc, Автор: Дж.Уотсон. 2-е издание, Автор: переработанное и дополненное. Перевод с английского В.П.Коржа, Автор: Н.В.Сониной, Автор: Н.М.Руткевич, Автор: Г.И.Эйснер, Автор: Т.Д.Аржановой, Автор: Г.В.Крюковой, Автор: А.В.Никашина Под редакцией Г.П.Георгиева, Автор: Ю.Категория: биология
Размер книги: 23.07 Mb
5 спасительных шагов от депрессии к радостиАвтор: Курпатов АндрейКатегория: Медицина, Научно-поппулярное
Размер книги: 857 Kb
Neoproterozoic Geobiology and PaleobiologyАвтор: Shuhai Xiao, Автор: Alan J. KaufmanКатегория: science_books, biology_genetics
Размер книги: 23.61 Mb
Shedding Light on Indoor TanningАвтор: Carolyn J. Heckman, Автор: Sharon L. Manne
Размер книги: 1.35 Mb
|
|
|