“Writing code that lasts” … or writing code you won’t hate tomorrow.

  • OSCON Amsterdam 2015 (Amsterdam, NL)
  • October 26, 2015

As developers we write code everyday, only to frown at it a week after that. Why do we have such a hard time with code written by others and ourselves, this raging desire to rewrite everything we see? Writing code that survives the test of time and self judgment is a matter of clarity and simplicity. Let’s talk about growing, learning and improving our code with calisthenics, readability and good design.

Slides

comments powered by Disqus

Related Posts

Cover Your A** Development

Cover Your A** Development

  • June 21, 2007

This is one of the funniest post I have read lately:

Read More
PHPT: Writing tests for PHP

PHPT: Writing tests for PHP

  • August 23, 2009

This year the PHP Community promoted the PHPTestFest in various places around the globe and it was a success. I participated in the event promoted by the PHPSP UG which ended up as the team with the most committed tests, after participating in the event I kept on going and have since obtained a SVN account and karma to be a official test commiter to PHP. So if you did not get the chance to learn how to write tests in your local TestFest I will now go over the steps taken so you can be ready for next year.

PHPT is a extremely simple test framework designed to test PHP. Its atomic nature and independent test execution make it perfect for the kind of tests needed, so tests can be really focused and test specific function and/or bugs.

What do I need to know?

The beauty about PHPT is that you need to know very little other than writing PHP code. A little knowledge into the inner workings of PHP will of course help you in finding areas of code that need testing, and how best to test them, but just knowing PHP is enough to start.

I have divided this post into 5 parts so we can get started:

  1. Preparing the Environment
  2. Choosing what to test
  3. Writing a test
  4. Executing a test
  5. Submitting a test to PHP

Read More
Pequenas mudanças

Pequenas mudanças

  • August 23, 2008

Caro leitor frequente,

Você que acompanha este blog desde seu início, em 2006 percebeu que ele sempre rondou em torno de assuntos web, mas sempre com um foco em PHP. A hora chegou e este blog irá tomar alguns novos rumos, desta forma acredito que poderei escrever novos artigos de novos assuntos e manter um repertório maior e muito mais interessante.

Read More