You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tuweni.apache.org by "Antoine Toulme (Jira)" <ji...@apache.org> on 2020/02/10 21:57:00 UTC

[jira] [Resolved] (TUWENI-22) Follow Idiomatic Java Properties Pattern

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

Antoine Toulme resolved TUWENI-22.
----------------------------------
    Fix Version/s: 1.0.0
         Assignee: Antoine Toulme
       Resolution: Fixed

> Follow Idiomatic Java Properties Pattern
> ----------------------------------------
>
>                 Key: TUWENI-22
>                 URL: https://issues.apache.org/jira/browse/TUWENI-22
>             Project: Tuweni
>          Issue Type: Bug
>            Reporter: Danno Ferrin
>            Assignee: Antoine Toulme
>            Priority: Major
>             Fix For: 1.0.0
>
>
> In many places the pattern for properties follows the C++ contentions, i.e. {{T foo()}} and {{void foo(T newFoo)}}.  The standard in Java for many years has been {{T getFoo()}} and {{void setFoo(T newFoo)}}.  It is considered Idiomatic for the language.
> Without this pattern this presents a usability barrier to newer JVM languages such as Kotlin and Groovy that have adapted the getter/setter pattern to their own property support in their languages.  They have been depending on this long standing Java idom.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@tuweni.apache.org
For additional commands, e-mail: issues-help@tuweni.apache.org