You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Shawn McKinney (Jira)" <ji...@apache.org> on 2023/07/03 21:49:00 UTC
[jira] [Created] (FC-324) Fix Boolean property names that create double negatives
Shawn McKinney created FC-324:
---------------------------------
Summary: Fix Boolean property names that create double negatives
Key: FC-324
URL: https://issues.apache.org/jira/browse/FC-324
Project: FORTRESS
Issue Type: Improvement
Affects Versions: 2.0.8
Reporter: Shawn McKinney
Assignee: Shawn McKinney
Fix For: 3.0.0
A minor issue that really creates a major irritation. Negative property names like isDisabled.
Creates situations like:
boolean isDisabled = false;
// huh?
if (!isDisabled)
// instead do this:
boolean isEnabled = true;
// much better now
if (isEnabled)
...
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org