Writing reusable code

Writing reusable code

By Thomas Klausner (‎domm‎) from Vienna.pm, Bicycle.pm
Date: Monday, 3 August 2009 10:55
Duration: 40 minutes
Target audience: Beginning Perl
Language:
Tags: callbacks mixins modules moose packages plugins roles subroutines

You can find more information on the speaker's site:


I will show several techniques to write reusable code, targeted at beginners, but also including some medium/advanced stuff in between. Topics covered will be:

Procedural Programming:
* Functions / Subroutines
* Packages
* Testing
* Callbacks
* Hooks
* Plugins

Object oriented programming / Moose
* Subclassing
* Overriding
* SUPER/NEXT
* Delegation
* Multiple Inheritance
* Roles


Attended by: Andrey Shitov (‎ash‎), Patrick Michaud (‎Pm‎), Dirk De Nijs (‎ddn123456‎), Diego Kuperman (‎diegok‎), Dave Cross (‎davorg‎), Martin Schipany (‎ElCondor‎), Jesse Vincent, Damian Conway (‎damian‎), Thomas Klausner (‎domm‎), Jose Celestino (‎japc‎), Markus Wichmann (‎telemorphix‎), David H. Adler (‎dha‎), André Cruz (‎edevil‎), Carlos Pires (‎acmpires‎), Armando Reis (‎AReis‎), Samuel Junqueira (‎SamyBoy‎), Nuno Jordão, Roberto Henríquez, Jordi Porta, Jose Neta (‎jpn‎), Jozef Kutej (‎jozef‎), Canol Gokel, Oliver Thieke (‎o-thieke‎), Marcos Ramos (‎x‎), Rui Pereira, Billy Abbott (‎cowfish‎), Aristotle, Carlos Juan Diaz (‎cjuan‎), Stelios Gikas (‎sgikas‎), Rafael Antonio (‎RA‎), Rafael Porres Molina, Jorge Bras, Michael Zedeler (‎mzedeler‎), Chisel Wright, Flavio Poletti (‎polettix‎), Sérgio Bernardino (‎smpb‎), MartijnVdS, Daan Baldewijns, António Martins (‎ammartins‎), Rui Patinha (‎rfp‎), Ricardo Marques (‎ricmarques‎), Hugo Costa, Tiago Grego, Matusalem Marques (‎mmar‎), Ulrich Wisser (‎wisser‎), Bálint Szilakszi (‎szbalint‎), Paula Valenca (‎phantas‎), Ricardo Vercesi (‎rvercesi‎), Peter Stoehr, Pedro Frazão, Tobias Kremer (‎soulchild‎), Beatriz Nombela Escobar, Thomas Netousek, Andrew Beech, Henrique Alves (‎Halves‎), Luís Mendes (‎big‎),