incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Neumeyer <>
Subject Article on Java Fluent API Design
Date Tue, 31 Jan 2012 16:50:49 GMT
I found this article very useful to design the S4 fluent API and
define the DSL rules:

It points to a couple of projects:

JRTF uses classes to implement the DSL

jOOQ uses interfaces to implement the DSL

Using interfaces gives more flexibility to reuse keywords in different
contexts but using classes seems more compact and makes it possible to
use static import. I think I will use classes and avoid reusing method
names in different contexts.

See Jira S4-5:


Leo Neumeyer (@leoneu)

View raw message