Peer Review: Improving The Business Logic
Tuesday, September 8th, 2009This entry is part of an ongoing series involving the review of a code sample and it’s refactoring. For the original code sample, see here. So far, we’ve done quite a bit of work on our Twitter class, making it better. There’s still work to be done, though, especially improving the logic. The Twitter class [...]
1:00 am | Comment (10) | Print | Categories: Best Practices, Debugging, System ArchitecturePeer Review: Looking At Abstraction – Redux
Monday, August 31st, 2009This entry is part of an ongoing series involving the review of a code sample and it’s refactoring. For the original code sample, see here. Editor’s Note: The response of the community to this series has been great, and I’ve been given a large number of suggestions. I’ve incorporated some of those suggestions into the [...]
6:30 am | Comment (2) | Print | Categories: Best Practices, Debugging, System ArchitectureStop Sacrificing Readability For Efficiency!
Thursday, March 26th, 2009Much was made last week over the topic of micro optimization in PHP. Most of these argued that micro optimization was a bad idea, from the perspective of unit testing, the idea that “premature optimization is the root of all evil”, the fact that it takes too much time, and that it violates the rules [...]
8:32 am | Comment (20) | Print | Categories: Best Practices, Business Management, Debugging, System ArchitectureBug-Free: Using Function Traces To Better Understand Code (Part 3 of N)
Tuesday, October 21st, 2008Have you ever been handed some code and told, “make it work”? If you haven’t, chances are good you will some day. It’s often a daunting task, especially since, as one programmer told me, “comments come when the second developer has to make changes.” While this is likely bad coding practice, it’s happened to me [...]
9:32 am | Comment (0) | Print | Categories: Best Practices, DebuggingBug-Free: Using XDebug To Improve Development (Part 2 of N)
Thursday, October 16th, 2008There are two really great experiences in my PHP life: the day I learned how to use PHP, and the day I installed XDebug. Ok, perhaps that’s an overstatement, but XDebug is one of the best tools I’ve ever used. I think every developer should use it, and for the next part of this series [...]
5:24 pm | Comment (1) | Print | Categories: Best Practices, Debugging
Web developer, amateur photographer, lover of the outdoors and travel. Expect to find me writing code, hiking or visiting new places. I own Blueprint DC and live in Washington, DC. Follow Me On Twitter!- July Slides
- Some Thoughts On Software Licensing
- Interfaces Make Testing Easier
- Revisiting: Why Every Developer Should Write Their Own Framework
- The Fallacy of Sunk Cost
- PHP: The Good Parts – Book Review
- 1st Amendment, Meet 4th Amendment: The Gizmodo Search Warrant
- A Closer Look At ArrayObject
- TEK Webcast Notes
- Caching For WordPress – A TEK-X Webinar
