advertisement

Weblog:   The world's two worst variable names
Subject:   Worst variable names
Date:   2004-03-12 06:06:05
From:   gng
I once worked at a place where a phb had written an MS Access module and had called his (boolean) variables true_ and false_ ! So, when debugging his code you were presented with the delightful


IF true_ = False AND NOT false_ = False Then
IF true_ = false_ THEN
x = 5
ELSE
x = 7
END IF
END IF


... and so on


I think I lasted about 5 minutes before having to lie down in a dark room !