User loginNavigation |
Functional programming in Java(Link)Vadim Nasardinov pointed out this article, which although pitched at an introductory level, provides a reasonably thorough overview of functional programming possibilities in Java. It focuses on the use of closures and higher-order functions, via Java's anonymous inner classes, and works its way up to "using closures to implement business rules" as one of its concrete examples. Perhaps a little too introductory for LtU, but articles like this can be a useful starting point when talking to Java programmers who've had little or no previous exposure to FP, or who need some hints about useful ways to apply FP concepts in Java. Using anonymous inner classes to implement e.g. GUI event listeners in Java is common practice, but often, more advanced and useful possibilities are overlooked. |
Browse archivesActive forum topics |
Recent comments
58 min 39 sec ago
1 hour 32 min ago
1 hour 36 min ago
1 hour 53 min ago
1 hour 58 min ago
3 hours 14 min ago
3 hours 40 min ago
10 hours 6 min ago
11 hours 50 min ago
1 day 1 hour ago