"This condition was just checked on line {lineNumber}."
Duplicate conditions are noisy, make long your code and reduce the readability of your code. When the same condition is repeated, it's just poorly formatted logic.
if (someBooleanExpression)
{
DoFirstThing();
}
else
{
...
}
if (someBooleanExpression)
{
DoSecondThing();
}
else
{
...
}
should be 🡻
if (someBooleanExpression)
{
DoFirstThing();
DoSecondThing();
}
else
{
...
...
}