Comment on Writing a Portable CPU/GPU Ray Tracer in C#parentComments−zamalek8yDon't forget that Linq operates over duck-typed extension methods, so you can also define your own wizardry there.−seanmcdirmid8yExtension methods are important to doing an EDSL in C#. Link syntax is mostly a dud, however.−megaman228yHopefully the weird special-case LINQ syntax will die out soon. The only time I've found it remotely more helpful than method-chaining is when doing some nasty joins that I probably shouldn't have been doing in the first place.
Comments
Don't forget that Linq operates over duck-typed extension methods, so you can also define your own wizardry there.
Extension methods are important to doing an EDSL in C#. Link syntax is mostly a dud, however.
Hopefully the weird special-case LINQ syntax will die out soon. The only time I've found it remotely more helpful than method-chaining is when doing some nasty joins that I probably shouldn't have been doing in the first place.