bookmate game
en
Michael Feathers

Working Effectively with Legacy Code

Сообщить о появлении
Загрузите файл EPUB или FB2 на Букмейт — и начинайте читать книгу бесплатно. Как загрузить книгу?
  • Bekzat Turapbekovцитирует3 года назад
    The last consequence of avoiding change is fear
  • Ilya Boltnevцитирует6 лет назад
    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 Boltnevцитирует6 лет назад
    Remember, code is your house, and you have to live in it.
  • Ilya Boltnevцитирует6 лет назад
    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 Boltnevцитирует6 лет назад
    Unit tests run fast. If they don’t run fast, they aren’t unit tests.
  • Ilya Boltnevцитирует6 лет назад
    Here are qualities of good unit tests:
    1. They run fast.
    2. They help us localize problems.
  • Ilya Boltnevцитирует6 лет назад
    legacy code is simply code without tests.
  • Peter Itai Bergerцитирует7 лет назад
    Chapter 4, The Seam Model
  • Peter Itai Bergerцитирует7 лет назад
    Chapter 4, The Seam Model
  • Peter Itai Bergerцитирует7 лет назад
    Chapter 4, The Seam Model.
fb2epub
Перетащите файлы сюда, не более 5 за один раз