Skip to content

monknomo/If-Else-Block-Refactoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

If-Else-Block-Refactoring

Refactoring business logic with nested if/else code blocks

This repository accompanies a series of blog posts on how to refactor business logic. It is intended as a readability aid to my blog posts about refactoring.

The first blog post covers starting with deeply nested if/else blocks and spaghetti code business logic.

The second blog post brings Java 8 functional style programming into the mix

The third blog post dives into the functional style of code, and uses a validator that takes functions to evaluate data

About

Refactoring business logic with nested if/else code blocks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages