Ayende @ Rahien

It's a girl

From annoyance to laugher in two seconds

This is a screen shot from NDepend (I have a review forthcoming), I run it on a code base, and I went through the issues it found.

These rules are things that I disagree with.

image

So I clicked to modify it, and I got this, which had me laughing.

image

I like the spirit.

Comments

Joe
07/30/2008 11:02 PM by
Joe

I put in a fix on some code many year back and it wasn't pretty, I did add comments along the lines "this code is a mess but it has to go in urgently - sorry in advance".

A couple of years later a developer came to me saying he was maintaining that same bit of code. Reading the comments and understanding my frame of mind actually made it easier for him to understand what was going on.

Richard
07/31/2008 01:54 AM by
Richard

About 15 years ago I was working on a PICK system. I found some code with the following comment -

"Just a bloody comma - ignore it."

Lance C
07/31/2008 02:29 AM by
Lance C

I don't know, I'm still pretty annoyed :)

Jake
07/31/2008 03:51 AM by
Jake

What tool do you use for your diagrams? Those are some pretty looking boxes and arrows :)

firefly
07/31/2008 04:57 AM by
firefly

That's good documentation!

Frank Quednau
07/31/2008 08:13 AM by
Frank Quednau

It's a lovely tool , very customizable, and it has learned a lot throughout the past 9 months. The ability e.g. to mark classes with attributes for means of performing specific code analysis on those types didn't exist end of last year. Let's see how far it goes.

Comments have been closed on this topic.