It's been nearly two months since my last Late Night Links post. A lot has happened in that timeframe - including a change in employers for me. Exciting stuff! Nevertheless, I've still been taking note of interesting links that I come across, and I've found a few useful ones you might be interested in.
The Boolean Trap
This post rips into the idea of using boolean values as function parameters, due to their inherent lack of context. It's a very good read and will give you a few ideas on how to improve the readability of your code when you encounter this issue.
A Look at PHP's Continuing Evolution
Larry Garfield (@crell) gives a great tour of some of PHP's latest features, including examples of anonymous functions, generators, and traits.
Book: SQL Antipatterns
That's all for now. Thanks for checking in. :)
- Late Night Links
- Excerpts, Summaries, and Breakpoints in Sculpin
- Don't Forget the Catfood
- My First Ruby Steps
- Porting Silex to Slim