This article was published over a year ago, so please be aware that some content may be out of date.

Friday, August 10, 2018 7:19 PM

Tidying Tips

In a post called The Life Changing Magic of Tidying Up Code, Kent Beck outlines his philosophy on cleaning up code. The article results in a short list of easy-to-follow rules, which I'm sure he would agree are there to be broken.

PHP
Tidying Tips

In a post called The Life Changing Magic of Tidying Up Code, Kent Beck outlines his philosophy on cleaning up code. The article results in a short list of easy-to-follow rules, which I'm sure he would agree are there to be broken.

  1. If it’s hard, don’t do it
  2. Start when you’re fresh and stop when you’re tired
  3. Land each session’s work immediately
  4. Two reds is a revert
  5. Practice
  6. Isolate tidying

What To Tidy is a follow-up post in which Kent goes on to describe specific patterns to look out for.

Thank you for reading this article.
I hope you learned something useful.
If you've made it this far, you might like to follow me on Twitter where I post similar content and connect with like-minded people.
Follow me on Twitter
PHP
How To Build The Imagick Php Extension From Source
How To Build The Imagick Php Extension From Source

This article describes the process you can follow to build the Imagick PHP extension from source, which can be handy if the version you are after has not been released via PECL.

Read this article
Laravel
Reset Your Laravel App In Seconds
Reset Your Laravel App In Seconds

In his recent talk about Laravel Nova at Laracon US, Taylor Otwell used a nice little shortcut to reset his demo app during the presentation.

Read this article
Privacy Policy
Copyright © 2021 Carl Cassar. All Rights Reserved.