PBP says to put whitespace around binary operators. This, I entirely agree with. It also notes to keep unary operators together with their operand. This, too, I think is a good idea. (more…)
Author Archive
PBP: 006 Operators
Monday, May 19th, 2014PBP: 005 Keys and Indices
Thursday, May 15th, 2014The PBP suggests putting whitespace between keys or indices and their brackets.
I find this a good suggestion, although I forget to do it sometimes. I do it for all complex statements, but forget for simple cases.
This is a place perltidy is a big help.
PBP: 004 Builtins
Monday, May 12th, 2014The suggestion in this section is not to use parenthesis for builtins and builtin-like functions.
I’m not sure why differentiating between builtins and functions is particularly useful, but I don’t object to the idea and found it easy to get used to.






