From ce33407fa4ea55ecc669637d3e51178cd888d5ac Mon Sep 17 00:00:00 2001 From: Akshit Batra <59093007+akbatra567@users.noreply.github.com> Date: Wed, 24 Jul 2024 21:55:10 +0530 Subject: [PATCH] Update 2024-07-18-quick-byte-understanding-currying-in-java-with-a-real-life-example.md Signed-off-by: Akshit Batra <59093007+akbatra567@users.noreply.github.com> --- ...nderstanding-currying-in-java-with-a-real-life-example.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_posts/2024-07-18-quick-byte-understanding-currying-in-java-with-a-real-life-example.md b/_posts/2024-07-18-quick-byte-understanding-currying-in-java-with-a-real-life-example.md index 63d5b7f..4b86baf 100644 --- a/_posts/2024-07-18-quick-byte-understanding-currying-in-java-with-a-real-life-example.md +++ b/_posts/2024-07-18-quick-byte-understanding-currying-in-java-with-a-real-life-example.md @@ -59,3 +59,8 @@ public class CurryingExample { * Modular Calculation: Discounts are calculated in a modular way, making it easy to add or change discount rules. * Reusability: Partial functions (e.g., discounts for specific user types or product categories) can be reused with different prices. * Readability: The code is more readable and maintainable due to the clear separation of concerns. + + +Read more: +1. [Currying in Java](https://www.baeldung.com/java-currying) +2. [Functional Programming in Java](https://www.baeldung.com/java-functional-programming)