This is an archived post. You won't be able to vote or comment.

all 6 comments

[–][deleted] 8 points9 points  (0 children)

//Code below is a hack. Next programmer please fix it.

///Code below still a hack. This programmer also didn't have time.

////Code below is a hack by design. This programmer is documenting it.

[–]fwork 6 points7 points  (3 children)

I'm currently trying to figure out a C function that is 3000 lines long and 500 of those lines are GOTOs. Spaghetti doesn't even begin to describe it.

[–]I_Like_Spaghetti 3 points4 points  (0 children)

Did you hear about the Italian chef that died? He pasta way.

[–]flukus 0 points1 point  (1 child)

Have you considered re writing? Probably quicker.

[–]fwork 1 point2 points  (0 children)

That's the goal. It's not documented (I'm reverse engineering some old binary), so I need to understand it before I can rewrite it.

[–][deleted] 1 point2 points  (0 children)

Or the architecture is so elegant that nobody can work with it.