Inflector.NET

Posted by Andrew on July 05, 2007

If anyone is looking for it I’ve created a dedicated page for my port of Rails’ inflector.

C# vs. VB

Posted by Andrew on July 03, 2007

Rowan posted about C# vs. VB:

> None, if challenged, would be able to build anything using
> C# that Phil couldn’t build just as well in VB.

This isn’t the point. Different languages have different levels of expressiveness and also different aesthetics. A program written in Haskell may be 10 times shorter than the same program written in C++ for example [1].

Personally, I have two favourite languages: Ruby and Haskell :-)

In Ruby I can write this:

10.times { |i| puts i }

But in C# I have to write this:

for (int i = 0; i < 10; i++)
{
  Console.Write(i);
}

Which do you find more beautiful? :-)

1. http://web.cecs.pdx.edu/~apt/cs457_2005/hudak-jones.pdf