I recently came across this expression - but reading up on Wikipedia did not clarify it much for me - I still don\'t get it:
One big difference and advantage of the fluent interface is that you don't need an instance variable to change some properties when you want to create an object and use it as an argument:
without:
Object object;
object.setcolor("red");
object.setstyle("solid");
object.setname("test");
world.CreateNode(object);
with fluent interface:
world.CreateNode(Object()
.setcolor("red")
.setstyle("solid")
.setname("test")
);