refactoring legacy code for java 8

Main menu:

Topics

Recent Posts

Feeds

RSS Feed RSS - Posts

February 2017
M T W T F S S
« Jan    
 12345
6789101112
13141516171819
20212223242526
2728  

Past Posts

Java/Java EE

JDBC

Other

Archive for the tag "refactoring"

refactoring legacy code for java 8

June 25th, 2016 by Jeanne Boyarsky

I asked a teammate at CodeRanch if I could use a method he wrote to show how it could be written more clearly/succinctly in Java 8. He said yes. This is the original method. It is 95 lines and¬†has a cyclomatic¬†complexity of 27. First step – write unit tests First, I wrote unit tests for […]