Feeds:
Posts
Comentários

Posts Tagged ‘design’

How Big Should a Function Be? do Robert C. Martin (aka Uncle Bob) é um post deve ser impresso e sempre relembrado por sua equipe de desenvolvimento. Abaixo algumas frases do post (Não deixe de conferir a versão completa, leitura rápida em 2 minutos)

The body of a try block should also be a function call; and the word try should be the first word in the function.

A source file should read like a newspaper article. Newspaper articles begin with a headline, followed by a single synoptic paragraph, followed by paragraphs full of ever increasing detail. The ideal article can be read until it gets boring. A source file should read the same way.

Nested ifs and while’s should be avoided in most cases.

Read Full Post »

Design e TDD

Se você tem alguma dúvida, suspeita ou quer alguma informação sobre design utilizando TDD, eu sugiro que você acompanhe a thread TDD and bad design.

Você vai encontrar ali muito mais informação do que em muitos livros e uma discussão de altíssimo nível a respeito de como é feito o design utilizando TDD.

Read Full Post »