A hands-on challenge: refactor a working but deliberately flawed checkout flow to apply all five SOLID principles.
View the Java challenge in java-design-patterns
The accompanying SolidCheckoutChallenge.java contains the starting code.
A hands-on challenge: refactor a working but deliberately flawed checkout flow to apply all five SOLID principles.
View the Java challenge in java-design-patterns
The accompanying SolidCheckoutChallenge.java contains the starting code.
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title> Title </title> | |
| <link rel="stylesheet" href="http://cdn.datatables.net/1.10.15/css/jquery.dataTables.min.css"> | |
| </head> |