Calamitous Context: Stop Breaking My Code!

By Aaron Crane (‎arc‎) from Edinburgh.pm, London.pm
Date: Saturday, 24 November 2012 11:20
Duration: 20 minutes
Target audience: Intermediate
Language: English
Tags: best_practices context style wantarray

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


Context is a pain, especially with function return values. Even seemingly helpful and innocuous context-sensitive functions can lead to hard-to-spot bugs elsewhere. This talk is a plea for sanity.

After showing examples of different ways in which context can cause subtle problems, and explaining why the recommendations in Perl::Critic and Damian Conway’s Perl Best Practices don’t entirely help, it contains guidelines for writing Perl that isn’t subject to these hidden flaws, so that you can avoid causing wrath in others.


Attended by: Elena Bolshakova (‎helena‎), pozorvlak, Tomasz Czepiel (‎tjmc‎), Pete Houston, Tony Bedford, kevin dawson (‎bowtie‎), Mike Eve, Anthony Shaper, Mallory van Achterberg (‎Stomme poes‎), Pierre Masci (‎mascip‎), osfameron, Anthony Lucas (‎hor|zon‎), James Aitken (‎LoonyPandora‎), Pedro Figueiredo (‎pfig‎), Tom Hukins, James Laver (‎jjl‎), Christopher Hanna (‎Chad‎), Alexandru Strajeriu (‎Deluxaran‎), David Cantrell (‎DrHyde‎), Chris Jack, Tudor Constantin, Colin Campbell, Johnathan Swan, Adam Taylor (‎adam-_-‎), M Walker, Peter Haworth (‎pmh1wheel‎), Andrew Solomon (‎illy‎), Steve Holden,

Sponsors

Corporate

antibodyMX

Booking.com

Bytemark Hosting

Eligo Recruitment

Evozon Software

Exonetric

magnum Solutions

Motortrak

Nestoria

Net-A-Porter

Opus VL

Petamem

Shadowcat
      Systems Limited

Community

Enlightened Perl Organisation

Bar design at the bottom of the page