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/09/01 20:38:00 UTC

[jira] [Resolved] (FC-324) Fix Boolean property names that create double negatives

     [ https://issues.apache.org/jira/browse/FC-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn McKinney resolved FC-324.
-------------------------------
    Resolution: Fixed

Hasn't not been fixed (it is fixed :-) 

> 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
>            Priority: Minor
>             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