Author Archive

PBP: 021 Lists

Monday, July 14th, 2014

Lists need to be formatted to be readable.  The suggestion is to always use parenthesis, indent after a parenthesis, and line things in columns, all with trailing commas.

The book provides clear examples, which I won’t duplicate here. (more…)

PBP: 020 Ternaries

Thursday, July 10th, 2014

The book talks about how confusing the ternary operator can be and how much of a mess it can make.  I’m almost surprised it doesn’t say, “Don’t use it.”

It suggests columns instead, with the condition, then the positive result.

(more…)

Writing 2014-06-05

Saturday, July 5th, 2014

hw20140605-01.jpg (more…)

Writing 2014-06-04

Saturday, July 5th, 2014

hw20140604-01.jpg (more…)

Writing 2014-06-03

Saturday, July 5th, 2014

hw20140603-01.jpg (more…)

Writing 2014-06-02

Saturday, July 5th, 2014

hw20140602-01.jpg (more…)

PBP: 019 Assignments

Thursday, July 3rd, 2014

The  PBP suggests breaking assignments much like it suggests breaking other operators; the assignment leads the broken line:


my $thingy

= $stuff + $hard_things + $foo;

(more…)

Writing 2014-06-01

Tuesday, July 1st, 2014

hw20140601-01.jpg (more…)

Writing 2014-05-31

Tuesday, July 1st, 2014

hw20140531-01.jpg (more…)

Writing 2014-05-30

Tuesday, July 1st, 2014

hw20140530-01.jpg (more…)