I don't know how exactly to propose this, but here it goes.
Take a look at this contrived example (yes I could factor it - please
ignore that for now):
if(sky() eq 'grey' and raining()) {
print "bring an umbrella\n";
}
if(sky() eq 'grey' and not raining()) {
print "no need for an umbrella\n";
}
Wouldn't it read better this way:
if(sky() eq 'grey' and raining()) {
print "bring an umbrella\n";
}
if(sky() eq 'grey' BUT not raining()) {
print "no need for an umbrella\n";
}
I'd like to see 'but' as a synonym for 'and'. You would use it when the
second condition has to evaluate to logical true, but (no pun
intended), the truth is not the expected condition.
Comments?