Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Did the authors of The Pragmatic Programmer forget about YAGNI?

Tags:

yagni

The Pragmatic Programmer is highly recommended by many people. I've just finished reading it, and I can see why people recommend it, although I would point out that Code Complete covers almost all of the same material in much more depth.

However, one thing that bugged me was the way the authors never mentioned any downsides of flexibility, generalising, and leaving room for future development. Those concepts are all very good, but what happened to the principle of YAGNI (You Ain't Gonna Need It), which prevents developers wasting their time implementing flexibility that's never going to be used?

A search of SO reveals 400 questions about YAGNI, so I doubt the concept was too obscure for the authors. I am, of course, nowhere near as experienced as them, so why didn't they mention any use of restraint throughout the book?

Thanks.

like image 801
Dijkstra Avatar asked Jul 31 '10 16:07

Dijkstra


People also ask

What have you learned from a pragmatic programmer?

Pragmatic programmers fix the code, not the blame, it doesn't matter whether the bug is your fault or someone else's. It's still your problem. Remember to communicate with your team so you can create a common healthy culture.

Who is a pragmatic programmer and define his characteristics?

Pragmatic Programmers are not wedded to a particular methodology, language, operating system, notation, whatever. Instead, they use their experience, combined with research, to choose the most appropriate combinations of tools for the job at hand. Pragmatic Programmers are not hammer wielders in search of nails.

When was pragmatic programmer written?

The Pragmatic Programmer: From Journeyman to Master is a book about computer programming and software engineering, written by Andrew Hunt and David Thomas and published in October 1999.

Should pragmatic programmers read?

It's definitely a must-read book for programmers and even people managing programmers. Initially released in 1999, The Pragmatic Programmer is a book about becoming a Pragmatic Programmer - programmer that's a true professional in their craft.


1 Answers

They don't call it YAGNI, but there is keyword on page 11 that has at least the the same focus:

Know When to stop!

like image 113
Doc Brown Avatar answered Oct 23 '22 21:10

Doc Brown