Writing code that lasts

  • Magento 2 Seminar (Utrecht, NL)

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

Your code sucks, let's fix it

Your code sucks, let's fix it

  • June 8, 2012

How do you measure the quality of your code? Performance and testing are just one aspect of code, in order to meet deadlines and make maintenance quicker you also need your code to be readable, decoupled and generally easier to comprehend and work with. This talk will go over tips and exercises to help you identify trouble areas, refactor them and train you to write better code in future projects. Come make your code look and function better.

Read More
strtotime() - Pode ajudar?

strtotime() - Pode ajudar?

  • August 3, 2006

Volta e meia recebo emails onde vejo perguntas de “Como somar X dias a uma data?”, “Como descubro quando é a próxima quinta?”, e muitas outras assim. Me assuto ao ver respostas enormes com códigos que fazem de tudo, até calcular dias levando em conta um algoritmo maluco q determina ano bisexto… não entendo porque complicar tanto.

A função strtotime() esta ai para isso, nesse posto vou apresentar ela e mostrar casos simples de uso onde ela é muito eficaz. Além de verificar a performance da função utilizando um benchmark simples.

Read More
PHPNW12 - One Conference, so much good stuff

PHPNW12 - One Conference, so much good stuff

  • October 10, 2012

This year I spent more time replying “I don’t know yet” to people who were asking if I was going to PHPNW12 then I did submitting to conferences. I think 75% of all the prominent members of the European Community told me at one point or another that i simply could not miss this conference. After stalling everyone for a while until I sorted out other problems i finally decided (yes, on the week before the conference) that I should go and got budget approval from my employers.

Read More