Continue the discussion

Published

December 11, 2015

We want code that is easy to understand, re-usable, and flexible. But we are always up against deadlines, so we rush, and end up with code that is messy, buggy, hard to maintain, and makes us go slower even though we’re trying to go faster.

What is clean code? In this talk I’ll provide some answers to this question, and introduce you to 10 good habits that will help keep your code clean, such as the use of meaningful names for your variables and functions, and following the “Boy Scout Rule” (leave the code cleaner than you found it). I will even try to persuade you that using a lot of code comments is a sign that there are problems with your code. I’ll also discuss the particular challenges of applying some of these techniques in the WordPress environment.

Presentation Slides »

Rate this:

Event

WordCamp US 2015 76

Speakers

Michael Toppa 4

Tags

code 69
coding standards 25
Tips 39

Language

English 11401

Download
MP4: Low, Med, High, Original
OGG: Low
Subtitles
Subtitle this video →