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

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

The AmsterdamPHP ElePHPant Project

The AmsterdamPHP ElePHPant Project

  • December 2, 2014

EveScreen Shot 2014-12-01 at 16.57.24r since I started building User Groups and getting involved in the PHP community I always had a dream of introducing a new color to the ElePHPant collection. Always wanted to make more elePHPants available and to make sure everyone had access to them. With Kickstarter and the example of php[arch] and PHPWomen, the time has finally come.

Read More
Your code sucks, let's fix it

Your code sucks, let's fix it

  • December 21, 2012

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.

Read More
Desenvolvendo um auto-complete com PHP e Ajax

Desenvolvendo um auto-complete com PHP e Ajax

  • July 10, 2006

** Script atualizado para versão 1.1, clique aqui para ver os detalhes **

Desenvolvendo uma solução de sistema de gerência para o Dep. Comercial do ComuniWeb recebi inúmeros pedidos de “mas não pode aparecer os nomes dos clientes quando vou digitando?”. Ok não foi tão lindo e poético assim, na verdade o que acontecia era que o auto-complete padrão do IE causava uma confusão enorme nos usuários (usuário é usuário né?).

Me vi então cara a cara com um problema, como resolver este problema? Precisava que um script ao tempo que a pessoa digitava fizesse uma busca no banco para retornar a lista de clientes e o seu vendedor, isso tudo num browser. Se o tmepo hoje fosse alguns meses atrás (não muitos) eu falaria “impossível, estamos falando de web, nao delphi ou VB!”. Alás que surgiu o xmlHttpRequest e tudo mudou…

Read More