A significant proportion of a developer's day is spent reading code rather than writing it. Therefore, it's important that the code we do write is easy to read; in other words clean code. By keeping our code clean and simple not only do we ensure that it is readable, but also easier to maintain, test and less prone to bugs.
Writing clean code is not easy. It takes patience and practice. However, there are some simple rules we can follow to simplify the code we develop. In this talk we will consider six rules to help us develop cleaner code. We will also take a look at some of the metrics that will help us measure the complexity of what we write.
After the event we'll head to a local pub for a chat with fellow attendees and a few drinks.
Our event is free to all but we ask that you sign up online so we have an idea of numbers for the venue. We love to hear your feedback and suggestions for future events either on Twitter or through the #SheffieldPHP channel on the Sheffield Digital Slack account.
Andy is a senior developer at Evoluted New Media in Sheffield and mostly works with Laravel and CakePHP. Before working full-time in the web industry he worked in Quantum Optics research as a theoretical Physicist.