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
Laravel
Different Ways To Pass Data To A Laravel View
Different Ways To Pass Data To A Laravel View

Laravel views allow you to pass data to a view in a number of different ways. In this article, I'll go over four methods and describe the pros and cons for each one.

Read this article
Tips
Better Http Status Codes In Laravel
Better Http Status Codes In Laravel

This Laravel quick tip will show you how to make your code more readable and expressive by replacing http status code magic numbers with calls to static constants.

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