The Design of MS Paint
http://www.youtube.com/watch?v=Hxx2KcPWWZg
Took me a while to figure out this is not real.
Ron Gross' blog 2007-2015
Archive for September 2007
http://www.youtube.com/watch?v=Hxx2KcPWWZg
Took me a while to figure out this is not real.
Today I took Eli’s challenge (whether he intended it as such or not not :).
Among other things, he mentioned on his blog his opinion that LISP is a more powerful programming language than C#. He offered Practical as an example of LISP’s power. Practical is a very simple database built using very few lines of codes.
The challenge I took on myself is to code Practical in C# and compare the implementation with the one given in LISP.
It took me 2-3 hours to read the link on Practical and code it in C#, and I wrote a great deal more lines of code than what I saw in the LISP code. So in a simple contest, C# (or just me as a coder) lost.
However, here are my thoughts:
Besides this code, the actual Practical C# code is very small and concise.
I think this experiment didn’t change my opinion greatly. Yes, functional programming is good. It exists in C# as well as in LISP. Yes, LISP handles lists very well. But, not everything is life (or in programming) should be represented as a list.
I’m attaching my code here. If you have suggestions or comments, please let me know. Also, once I install Visual Studio 2008 (I’ll probably wait for the final release), I might try coding this in C# 3.0 and see how it helps the cause.
See a discussion on the selection of programming languages on Eli’s Blog, and my note about general qualities of good programmers.