3 ms·
It's possible to have a language design like this: DoThing() .withSomeOtherThing() .onSundays() .withCharset(Blah.BLAH) .betterAddThis(x -> { re
by kazinator 6y ago
It's possible to have a language design like this:
DoThing()
.withSomeOtherThing()
.onSundays()
.withCharset(Blah.BLAH)
.betterAddThis(x -> { ret stuff() })
.build()
.into(turducken)
Where a.into(b) is really (into a b), which is a macro sugar for (set b a) and not a function.