Entries from March 2006

March 31, 2006

Backward incompatibility

After reading Jeff Smith’s Programming is a funny thing article I felt the need to comment.
As a strong advocate about simplicity I was according to the fact that “experts” writes clearer code then beginners. But I think Jeff missed the point when he said that in the software industry, beginners gets all the hard and [...]

March 30, 2006

A C# interpreter in 50 lines of code

With all the hype around scripting languages these days, here’s my contribution. A C# line interpreter. The principe is simple: append the code to a string and evaluate it when a return statement is added. This is some magic we can do with the System.CodeDom and System.Reflection namespace. Not quite has dynamic has ruby or [...]

March 29, 2006

Rock Star programming : my two cents

I was a little outraged when I red Mikael Grev’s My Top Ten Tips on how to become a Rock Star Programmer a couple of weeks ago when it ended up on reddit. And now that ironmonkey has done his own meaculpa I feel the need to add my little two cents.
Ironmonkey probably has the [...]

March 26, 2006

Code generator : the languages comparison

I’ve been hacking a code generator in various languages just to get the fell of each languages, none is the worst, but some are so much cooler. Here’s the results of my experimentation.
C#
Goods

Fast
Should run on any win32 machine with .NET

Bads

Too much of LOC
Had to use NVelocity has a template engine
Code to inject template bindings was [...]

March 24, 2006

AJAX and the whole 2.0 stuff

Some are all buzzed about it, some others are angry that someone has even thought about naming a fashion Web 2.0. Like their was a version for the “Web”. It’s like naming your own child “Version 1.2″ (I know some guy did… That’s not my point). I’m not angry at this, I think it’s a [...]