The PBP tells us to localize changes to package variables. This is usually good sense, and prevents your changes from leaking out and messing with other things. Read the rest of this entry »
PBP: 053 Localization
October 30th, 2014PBP: 052 Package Variables
October 27th, 2014The PBP suggests avoiding package variables. I almost can’t think of a reason to use one, so support this suggestion. Read the rest of this entry »
PBP: 051 Lexical Variables
October 23rd, 2014Global Variables; Just Say No. Well, the PBP’s a little more lenient than that, and actually easier to follow by suggesting, “Avoid using non-lexical variables.” and admitting there are some times you just need a package or global variable. Read the rest of this entry »
PBP: 050 List Membership
October 20th, 2014The PBP suggests using the right, fast, tools to search for strings in lists. Who wouldn’t? Read the rest of this entry »