08
May 11

Functional Programming in C# – Part 0 – First Class & Higher Order Functions

Ever since the pundits predicted that the doomsday of Moore’s Law was fast approaching* (*debatable) . There’s  been an eerie feeling amongst the producer – consumer cycle of microprocessors. The question on everybody’s mind seems to be- So what is the consequence of this ? Does it mean that the microprocessor developers like Intel, AMD et al. would close their shop and get into other domains ? (for the love of God not another browser !)  Well the answer is astounding  NO.  Parallel computing, Multi core architectures were an indirect consequence of this.

As a co-consequence of this, something that was ignored for almost 60 years ago made it way back into  limelight and became a buzz word. Lo and behold for here cometh Functional Programming ! Ever since Parallel Programming, Multi Core architecture and Google’s Map Reduce came into the ZONE. Functional Programming is making sinusoidal waves all over the developer circuit. Functional Programming is as old as computers themselves and they rightly deserve all the credit people have been pouring all over it.

This is part 0 of an n part series – of my humble attempt in exploring the functional programming concepts using C#.

Continue reading →


22
Apr 11

Visual Studio – shortcut for Set As StartUp Project

A quick Visual Studio tip for the day. As a program evolves the number of projects in a Visual Studio Solution increases overtime. And more often than not the solution has more than one startup projects. What amazes me is that Visual Studio with the default keybindings does not have a shortcut for “Set as StartUp Project”.

Knowing  Visual Studio is as extensible at it is, a custom short cut for Set As StartUp project can be achieved in less than 2 minutes. And here’s how. Continue reading →


21
Apr 11

Death of Reflector – No more “Free” as in Free Beer

If you are a neo .NET programmer, one of the tools in your arsenal would have been the .NET Reflector. A very powerful .NET decompiler that has been answering a lot of our questions about what exactly happens behind the curtain.

It so happens that Red Gate the company that took over the development of the tool from Lutz Roeder has announced that that tool will no longer be free. And Yes, No longer ”Free” as in Free Beer. It never was “Free” as in Free Speech! The true rationale behind this move might be something we would never know..

And if you had the older free version of Red Gate Reflector- it would run for until June 2011.

Here are the possible alternatives

Continue reading →


15
Apr 11

Rhino.Mocks – Mocking concrete classes

Pretty much all my agile-aware developer life I have been using Rhino.Mocks to mock interfaces. I had never landed myself in a position where I had to mock a concrete class. Being a Design Purist (well , at least when I review code), I never liked the idea behind mocking  a concrete class. The idea or the application of such a mock object is rare. But I wanted to experiment to find out whether such a thing is possible. This is the experiment !

Continue reading →


Creative Commons Attribution-ShareAlike 2.5 India
Creative Commons License http://semikolan.net is licensed by abkolan under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.