Writing 2014-05-08

June 24th, 2014

hw20140508-01.jpg Read the rest of this entry »

PBP: 016 Breaking Long Lines

June 23rd, 2014

This Practice is about how to break long lines of code.  It suggests breaking them before an operator, so the operator serves as a visual cue on the left, where you’re likely to be reading, that this line is continued from last time.

Read the rest of this entry »

Writing 2014-05-07

June 22nd, 2014

hw20140507-01.jpg Read the rest of this entry »

Writing 2014-05-06

June 22nd, 2014

hw20140506-01.jpg Read the rest of this entry »

Writing 2014-05-05

June 22nd, 2014

hw20140505-01.jpg Read the rest of this entry »

Writing 2014-05-04

June 22nd, 2014

hw20140504-01.jpg Read the rest of this entry »

PBP: 015 Vertical Alignment

June 19th, 2014

The Perl Best Practices suggest to align things vertically.  They like to apace things out into neat rows of equals, fat commas, braces, and parenthesis.  Columns of data, when it will fit, are also approved of. Read the rest of this entry »

PBP: 014 Elses

June 16th, 2014

The PBP suggests that you don’t “cuddle” an else.  This means that the else and it’s opening parenthesis starts on its own line: Read the rest of this entry »

Writing 2014-05-03

June 15th, 2014

hw20140503-01.jpg Read the rest of this entry »

Writing 2014-05-02

June 15th, 2014

hw20140502-01.jpg Read the rest of this entry »