bookmate game
Michael Feathers

Working Effectively with Legacy Code

Notify me when the book’s added
To read this book, upload an EPUB or FB2 file to Bookmate. How do I upload a book?
  • Bekzat Turapbekovhas quoted4 years ago
    The last consequence of avoiding change is fear
  • Ilya Boltnevhas quoted7 years ago
    The human mind has some interesting qualities. If we have to perform a short task (5-10 seconds long) and we can only take a step once every minute, we usually do it and then pause. If we have to do some work to figure out what to do at the next step, we start to plan. After we plan, our minds wander until we can do the next step. If we compress the time between steps down from a minute to a few seconds, the quality of the mental work becomes different. We can use feedback to try out approaches quickly. Our work becomes more like driving than like waiting at a bus stop. Our concentration is more intense because we aren’t constantly waiting for the next chance to do something. Most important, the amount of time that it takes us to notice and correct mistakes is much smaller.
  • Ilya Boltnevhas quoted7 years ago
    Remember, code is your house, and you have to live in it.
  • Ilya Boltnevhas quoted7 years ago
    A test is not a unit test if:
    1. It talks to a database.
    2. It communicates across a network.
    3. It touches the file system.
    4. You have to do special things to your environment (such as editing configuration files) to run it.
  • Ilya Boltnevhas quoted7 years ago
    Unit tests run fast. If they don’t run fast, they aren’t unit tests.
  • Ilya Boltnevhas quoted7 years ago
    Here are qualities of good unit tests:
    1. They run fast.
    2. They help us localize problems.
  • Ilya Boltnevhas quoted7 years ago
    legacy code is simply code without tests.
  • Peter Itai Bergerhas quoted8 years ago
    Chapter 4, The Seam Model
  • Peter Itai Bergerhas quoted8 years ago
    Chapter 4, The Seam Model
  • Peter Itai Bergerhas quoted8 years ago
    Chapter 4, The Seam Model.
fb2epub
Drag & drop your files (not more than 5 at once)