Geek Logbook

Tech sea log book

The elements of programming style: Don’t Be Too clever

Preface to the Second Edition The practice of computer programming has changed since The Elements of Programming Style first appeared. Programming style has become a legitimate topic of discussion. After years of producing “write-only code,” students, teachers, and computing professionals now recognize the importance of readable programs. There has also been a widespread acceptance of

Refactor or rewrite?

While I was reading The elements of programming style found the following quote: Don’t patch bad code – rewrite it The element of programming style – Chapter 4 – Page 1 Its make me think about an informal comments that different professionals have been made during these years: “Don’t touch code that it’s working”. But,