TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Curry Saves Java?

1 pointsby code-dogover 13 years ago

1 comment

ricketteover 13 years ago
This programming style is commonly known as applying a "fluent interface" or fluent api. See Wikipedia <a href="http://en.wikipedia.org/wiki/Fluent_interface" rel="nofollow">http://en.wikipedia.org/wiki/Fluent_interface</a>.<p>It is already heavily used by numerous Java frameworks like Hibernate (Criteria API, now part of JPA2), Apache Camel, and various mocking libraries like EasyMock and Mockito.<p>Concerning the SQL example in the blog post, there are quite a few Java libraries available that provide a fluent interface for building SQL. For an overview see <a href="http://stackoverflow.com/a/6565369" rel="nofollow">http://stackoverflow.com/a/6565369</a>.
评论 #3310685 未加载