5 ms·
The trailing closure syntax is used in Groovy too. It is very useful for creating builders that look almost declarative, but provide access to flow control feat
by kitd 6y ago
The trailing closure syntax is used in Groovy too. It is very useful for creating builders that look almost declarative, but provide access to flow control features in the language.