Just sharing some of my inconsequential lunch conversations with you... RSS  

Tuesday, September 25, 2007

Fluent Interface

Nope, not interested on the "Fluent Interfaces Are Not Internal DSLs" war. Just describing it:


IInterfaces interface = context.Session
.CreateInterface(typeof(Fluent))
.MatterIfIsDSL (Please.Dont)
.AddComment("Ok, not a proper internal DSL, but who cares")
.AddComment("Cool way to manifest declaration intentions on an imperative environment");


Ok, maybe Fowler is better than me describing patterns...

No comments:

Development Catharsis :: Copyright 2006 Mário Romano