PBP: 043 Heredoc Terminators

September 25th, 2014

Mr. Conway suggests making all heredoc terminators single uppercase identifiers which start with a standard prefix.  This is part of naming things regularly, and I support it. Read the rest of this entry »

Writing 2014-06-17

September 23rd, 2014

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

Writing 2014-06-16

September 23rd, 2014

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

Writing 2014-06-15

September 23rd, 2014

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

Writing 2014-06-14

September 23rd, 2014

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

Writing 2014-06-13

September 23rd, 2014

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

Writing 2014-06-12

September 23rd, 2014

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

Writing 2014-06-11

September 23rd, 2014

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

Writing 2014-06-10

September 23rd, 2014

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

PBP: 042 Heredoc Indentation

September 22nd, 2014

The Best Practices suggest that putting a heredoc in a deeply nested function looks funny because it has to be left-justified, and suggests creating a “theredoc” by writing a function that does nothing besides evaluate and return the heredoc. Read the rest of this entry »