News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Francois Zaninotto's Blog:
Introducing Code Usability
May 05, 2009 @ 13:48:19

Francois Zaninotto has a recent post looking at something every developer should consider when creating their applications - especially the libraries that might be used by other developers: code usability.

Usability guidelines can sometimes be of use in awkward places. I try to apply them to source code. [...] Of course, coding guidelines are there to make the code easy to read by everyone. But code usability goes somehow beyond. Let's see some of the differences.

He compares good versus bad code in a few different areas:

  • Bad Code Comments
  • Split Up Code
  • Cleanliness
  • New Conventions
  • Listen To User Feedback

Each item is described, some including code examples to help make them more clear. Be sure to check out the comments for more good suggestions.

0 comments voice your opinion now!
usability comments split clean convention user feedback


blog comments powered by Disqus

Similar Posts

Antonin Januska: How To Write Code Comments Well

DevShed: Displaying User Comments in a Code Igniter Blog Application

Chris Hartjes' Blog: Simple User Registration in CakePHP 1.2

Ben Ramsey\'s Blog: Peruser MPM for Apache

Stuart Herbert's Blog: Last Call For Requirements For A PEAR Channel Aggregator


Community Events





Don't see your event here?
Let us know!


opinion framework interview security composer artisanfiles podcast list introduction laravel symfony version community conference release language tool voicesoftheelephpant series library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework