Your code sucks, let's fix it

Performance and testing are just one aspect of code, to really be successful your code needs to be readable, maintainable and generally easier to comprehend and work with. This talk draws from my own experience in applying the techniques of object calisthenics and code readability, within an existing team. It will help you identify trouble areas, learn how to refactor them and train you to write better code in future projects avoiding common pitfalls.

Online Event

Slides

comments powered by Disqus

Related Posts

Optimizing code with __autoload()

Optimizing code with __autoload()

  • March 13, 2007

With the advent of PHP5 a new tool was available to all who wished to optimize their code, its called __autoload. This function can reduce the time lost by having to include object and class files in your code. But how do you proceed in creating an __autoload function to optimize code?

Read More
Blogosfera em destaque

Blogosfera em destaque

  • July 31, 2006

Me chamou atenção a capa da Época deste final de semana que destacava a palavra “Blogs”

Read More
dmsAutoComplete v1.1 - ChangeLog

dmsAutoComplete v1.1 - ChangeLog

  • October 2, 2006

Recently I published an updated version of my auto-complete (Google suggest) script compatible with IE and FireFox and based on PHP/AJAX.

After publishing version 1.0, I had some feedback from people who downloaded an tested it, so now I decided to correct some of the bugs that were found, and make a few improvements also. So now I’m going to publish version 1.1, check out some of the changes I made.

Read More