ILoggable

A place to keep my thoughts on programming

Monthly Archives: May 2011

Implementing “exports” in C#

The other day i was musing about improving readability by liberating verbs from the containing objects that own them. Similar things are accomplished with mix-ins or traits in other languages, but I wanted to go another step further and allow … Continue reading

May 25, 2011 geek, Promise ,

Of Workflows, Data and Services

This is yet another in my series of posts musing about what my ideal language would look like. This one is about readability. Most code I write these days seems to utilize three types of classes: Data, Services and Workflow. … Continue reading

May 23, 2011 geek, Promise

When lazy evaluation attacks

I just had a lovely object lesson in lazy evaluation of Iterators. I wanted to have method that would return an enumerator over an encapsulated set after doing some sanity checking: public IEnumerable<Subscription> Filter(Func<Subscription, bool> filter) { if(filter == null) … Continue reading

May 17, 2011 geek , , ,

Reflections on #jsconf and #nodeconf by a language geek

This isn't a review of the conferences as much as my impression of the different forces acting upon javascript, the language. Before I start, i should get my bias out of the way, as it likely colors my observations: Like … Continue reading

May 11, 2011 geek, javascript , , , ,