bookmate game
en
Martin Fowler

Refactoring: Improving the Design of Existing Code

Beri tahu saya ketika buku ditambahkan
Untuk membaca buku ini unggah file EPUB atau FB2 ke Bookmate. Bagaimana cara mengunggah buku?
  • Justin Casemembuat kutipan2 tahun yang lalu
    They realized that refactoring was important in improving their productivity
  • Justin Casemembuat kutipan2 tahun yang lalu
    Smalltalk is an environment that even then was particularly hospitable to refactoring.
  • Justin Casemembuat kutipan2 tahun yang lalu
    Two of the first people to recognize the importance of refactoring were Ward Cunningham and Kent Beck,
  • Justin Casemembuat kutipan2 tahun yang lalu
    Ward Cunningham and Kent Beck,
  • Justin Casemembuat kutipan2 tahun yang lalu
    Having a well-factored program helps with this style of optimization in two ways. First, it gives me time to spend on performance tuning. With well-factored code, I can add functionality more quickly. This gives me more time to focus on performance.
  • Justin Casemembuat kutipan2 tahun yang lalu
    That change doubled the speed of the system, enough for the tests to be bearable. It took us about five minutes.
  • Justin Casemembuat kutipan2 tahun yang lalu
    ranges were empty!
  • Justin Casemembuat kutipan2 tahun yang lalu
    They were all going through a string conversion even though no external inputs were involved. The code was just using string conversion for convenience of typing.
  • Justin Casemembuat kutipan2 tahun yang lalu
    slowly. Although we were still in development, it began to bother us, because it was slowing down the tests.

    Kent Beck, Martin Fowler, and I decided we’d fix it up. While I waited for us to get together, I was speculating, on the basis of my extensive knowledge of the system,
  • Justin Casemembuat kutipan2 tahun yang lalu
    Changes that improve performance usually make the program harder to work
fb2epub
Seret dan letakkan file Anda (maksimal 5 sekaligus)