Refactor a Tangled Java Pricing Engine With Design Patterns
Overview
What this challenge is about.
Refactor a Java pricing engine using design patterns, fix a bug, and earn your verifiable certificate.
The scenario
The marketplace (Series-A, around 1,400 active restaurants, owns the promotion engine in-house) loses on average 6 engineer-hours per promotion change and the CTO wants the pattern fixed before scaling promotions 4x.
The Brief
What you'll do, and what you'll demonstrate.
Refactor a 4,800-line pricing class into a clean OO design using Strategy, Decorator, and Chain of Responsibility with provable zero behavior change.
Earning criteria — what you'll demonstrate
- Apply Strategy, Decorator, and Chain of Responsibility on a real codebase
- Maintain zero behavior change during a structural refactor
- Translate an if/else chain into a polymorphic, testable design
- Author a design doc with UML that a reviewer can act on
Program Fit
Where this fits in your program.
Sharpens the same skills your degree expects you to demonstrate.
Aligned coursework coming soon.
Skills
Skills you'll demonstrate.
Each one shows up on your verified credential.
- Java
Apply java to solve real industry problems and demonstrate production-level capability.
- Design Patterns
Apply design patterns to solve real industry problems and demonstrate production-level capability.
- Refactoring
Apply refactoring to solve real industry problems and demonstrate production-level capability.
- Oo Design
Apply oo design to solve real industry problems and demonstrate production-level capability.
- Unit Testing
Apply unit testing to solve real industry problems and demonstrate production-level capability.
- Code Review
Apply code review to solve real industry problems and demonstrate production-level capability.
Careers
Career paths this challenge builds toward
Completing this challenge demonstrates skills that transfer directly to these roles: