O'Reilly logo

PHP for Teens by Maneesh Sethi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Why Style?

You might be wondering why it even matters how organized or neat your code. After all, you are the only one who looks at it, right? It shouldn’t matter whether your code is commented or easy to understand—right?

Wrong. Absolutely wrong. Many times I have written code for a game or project, and when I looked it over again three months later, I had no idea how the code worked. Even worse, sometimes I had errors in the code that I could not fix. If I had spent just a few more minutes making it neater or more organized, my efficiency would have been hundreds of times better. Instead, I wasted hours simply trying to catch an error (or even simply figure out what was going on). I once even read about a programmer who spent 30 minutes looking ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required