The PHP define() function allows you to define a named constant. It can be very useful. It can also be very distracting if you set it to the WRONG value. So what is the wrong value for WP_DEBUG?
Today I have releasd my cookie-cat plugin on WordPress.org.
In my office at home I work with two screens. Sometimes there’s nothing on the second screen except a slideshow of screen captures of some of my websites. Just now the screen capture for my “bobbing wide IT consultant” website caught my eye. Apparently, in 2008-9 I was developing middleware software for Windwows (sic).
Programming offence number 2. was “Forget to write comments”. This one line comment for my Hello World! program highlights the original typo
Number one in my 100 programming offences to commit before I die list is Develop buggy code.
The example I showed in the image was a very simple PHP program
How many bugs are there in this code?
I’ve been ticking a few checkboxes on Facebook recently then finding that there are many people who have already eaten everything and been everywhere. So I wondered… who would admit to “100 offences to commit before you die”? Here’s a slightly modified version for geeks and techno-babblists.