Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

sheltonsuen/puddles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puddles code style: prettier FOSSA Status Travis Build

Find the puddles of code.

Refactoring Check List

Composing Method

  • Inline Temp
  • Remove Assignments to Parameters
  • Replace Temp with Query
  • Split Temporay Variable
  • Substitute Algorithm

Simplifying Conditional Expressions

  • Consolidate Conditional Expression
  • Consolidate Duplicated Conditional Fragments
  • Decompose Conditional
  • Remove Control Flag
  • Replace Conditional with Guard Clauses

Simplifying Method Calls

  • Add Parameter
  • Remove parameter
  • Rename Method
  • Separate Query from Modifier
  • Parameterize Method
  • Introduce Parameter Object
  • Preserve Whole Object
  • Hide Method
  • Replace Expection with Test
  • Remove Setting Method
  • Replace Error Code with Expecton
  • Replace Parameter with Explicit Methods

About

Find the puddles of code.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published