Refactoring

Improving the Design of Existing Code

AvMartin Fowler

Inbunden, Engelska, 2019

426 kr

Beställningsvara. Skickas inom 7-10 vardagar. Fri frakt över 249 kr.

Beskrivning

Martin Fowler’s guide to reworking bad code into well-structured code

Refactoring improves the design of existing code and enhances software maintainability, as well as making existing code easier to understand. Original Agile Manifesto signer and software development thought leader, Martin Fowler, provides a catalog of refactorings that explains why you should refactor; how to recognize code that needs refactoring; and how to actually do it successfully, no matter what language you use.

  • Refactoring principles: understand the process and general principles of refactoring
  • Code smells: recognize “bad smells” in code that signal opportunities to refactor
  • Application improvement: quickly apply useful refactorings to make a program easier to comprehend and change
  • Building tests: writing good tests increases a programmer’s effectiveness
  • Moving features: an important part of refactoring is moving elements between contexts
  • Data structures: a collection of refactorings to organize data, an important role in programs
  • Conditional Logic: use refactorings to make conditional sections easier to understand
  • APIs: modules and their functions are the building blocks of our software, and APIs are the joints that we use to plug them together
  • Inheritance: it is both very useful and easy to misuse, and it’s often hard to see the misuse until it’s in the rear-view mirror---refactorings can fix the misuse

Examples are written in JavaScript, but you shouldn’t find it difficult to adapt the refactorings to whatever language you are currently using as they look mostly the same in different languages.

"Whenever you read [Refactoring], it’s time to read it again. And if you haven’t read it yet, please do before writing another line of code." –David Heinemeier Hansson, Creator of Ruby on Rails, Founder & CTO at Basecamp

“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” –M. Fowler (1999)

Produktinformation

Utforska kategorier

Mer om författaren

Innehållsförteckning

Hoppa över listan

Mer från samma författare

Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides, Martin Fowler - Design Patterns, Häftad

Design Patterns

Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides, Martin Fowler

Häftad, 2026

626 kr

Jeff Patton, Peter Economy, Martin Fowler, Marty Cagan, Alan Cooper, Peter Economy - User Story Mapping, Häftad

User Story Mapping

Jeff Patton, Peter Economy, Martin Fowler, Marty Cagan, Alan Cooper, Peter Economy

Häftad, 2014

3,0 utav 5 stjärnor. Totalt antal röster:(1)

380 kr

Hoppa över listan

Mer från samma serie

Jez Humble, David Farley - Continuous Delivery, Inbunden

Continuous Delivery

Jez Humble, David Farley

Inbunden, 2010

3,5 utav 5 stjärnor. Totalt antal röster:(2)

625 kr

Paul Duvall, Steve Matyas, Andrew Glover - Continuous Integration, Häftad

Continuous Integration

Paul Duvall, Steve Matyas, Andrew Glover

Häftad, 2007

3,0 utav 5 stjärnor. Totalt antal röster:(3)

602 kr

Scott Ambler, Pramod Sadalage - Refactoring Databases, Häftad

Refactoring Databases

Scott Ambler, Pramod Sadalage

Häftad, 2011

4,0 utav 5 stjärnor. Totalt antal röster:(1)

335 kr

Hoppa över listan

Du kanske också är intresserad av

Tim McNamara - Rust in Action, Häftad

Rust in Action

Tim McNamara

Häftad, 2021

4,0 utav 5 stjärnor. Totalt antal röster:(1)

658 kr

Robert Martin - Clean Architecture, Häftad

Clean Architecture

Robert Martin

Häftad, 2017

4,6 utav 5 stjärnor. Totalt antal röster:(7)

303 kr

Jez Humble, David Farley - Continuous Delivery, Inbunden

Continuous Delivery

Jez Humble, David Farley

Inbunden, 2010

3,5 utav 5 stjärnor. Totalt antal röster:(2)

625 kr

Paul Duvall, Steve Matyas, Andrew Glover - Continuous Integration, Häftad

Continuous Integration

Paul Duvall, Steve Matyas, Andrew Glover

Häftad, 2007

3,0 utav 5 stjärnor. Totalt antal röster:(3)

602 kr

Scott Ambler, Pramod Sadalage - Refactoring Databases, Häftad

Refactoring Databases

Scott Ambler, Pramod Sadalage

Häftad, 2011

4,0 utav 5 stjärnor. Totalt antal röster:(1)

335 kr