Supported by
Supported by Inetum

Don't be so negative

images/thumbnail.jpg - Thumbnail

Legibility is very important in all written text. Except, maybe, in concrete poetry.

As a follow up to the previous post, here are a couple of rules to help you deal with the negative in boolean expressions.

1. Try to make conditions positive. “I want to go” is easier to understand" than “I do not want to stay”.

2. If you really must use the negative, prefer IS NOT to NOT IS. While in English you would say “I do not want to stay”, in programming languages it’s better to say “I want to not stay”.

Greetings from Abapinho.