[thelist] PHP script design tips (long)

Charles F. Johnson charles at littlegreenfootballs.com
Sun Sep 2 20:25:37 CDT 2001


deke <web at master.gen.in.us> typed:

> An elegant solution is straightforward and clear. You figured
> out what you want to do, and your code clearly goes from point
> A to point B. Every time you go in to modify the code, you can
> instantly see what you need to do, and you can do it easily.
> There aren't any bugs when you write the code in the first place,
> and there aren't likely to be any when you maintain it.

Yo. Brilliant. You're exactly right, with one caveat: one man's clarity is
another's mystery. Documentation is the key to letting others know about
your elegance.

I've found that the simple act of commenting every line of code often lets
you perceive more elegant solutions.

charles johnson
lgf web design
http://littlegreenfootballs.com





More information about the thelist mailing list