Coder Social home page Coder Social logo

java-refactoring's Introduction

Java-Refactoring

  • 0장 리팩토링이란 (02/23)

소규모 리팩토링

  • 1장 매직 넘버를 기호 상수로 치환 (02/23)
    • type code
    • enum
  • 2장 제어 플래그 삭제 (02/24)
    • break, return
    • initialized, debug, error, done, interrupted, recurse
    • java.util.regex
  • 3장 어서션 도입 (02/25)
    • assert expr: option;
  • 4장 널 객체 도입 (02/26)
    • @override
    • factory method pattern
    • singleton pattern
      • private static final Object singleton = new Object();

중간규모 리팩토링

  • 5장 메서드 추출 (02/27)
    • inline method
  • 6장 클래스 추출 (02/28)
    • delegation
    • immutable interface
    • inline class
  • 7장 분류코드를 클래스로 치환 (03/01)
  • 8장 분류코드를 하위클래스로 치환 (03/01)
    • switch
    • factory class
    • abstract class
  • 9장 분류코드를 상태/전략으로 치환 (03/02)
    • self encapsulation
  • 10장 분류코드를 예외로 치환

대규모 리팩토링

  • 11장 생성자를 팩토리 메서드로 치환
  • 12장 관측 데이터 복제
  • 13장 상속을 위임으로 치환
  • 14장 대리자 은폐
  • 15장 상속구조 정리

java-refactoring's People

Contributors

dodant avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.