[ 
https://issues.apache.org/jira/browse/ARTEMIS-4796?focusedWorklogId=922236&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-922236
 ]

ASF GitHub Bot logged work on ARTEMIS-4796:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Jun/24 18:13
            Start Date: 05/Jun/24 18:13
    Worklog Time Spent: 10m 
      Work Description: jbertram commented on PR #4959:
URL: 
https://github.com/apache/activemq-artemis/pull/4959#issuecomment-2150668986

   As far as I'm aware, the "of" naming convention was introduced in 2008 in 
the second edition of Joshua Block's _Effective Java_. He identified it as a 
way to draw attention to static factories and adhere to common naming 
conventions. It is a more concise version of `valueOf` which is also used 
prolifically throughout the Java API. It's an industry standard at this point.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 922236)
    Time Spent: 1h 40m  (was: 1.5h)

> Simplify SimpleString API
> -------------------------
>
>                 Key: ARTEMIS-4796
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4796
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Instead of using the verbosely named {{toSimpleString}} static factory method 
> (and its overloaded counterparts), {{SimpleString}} should provide {{of}} 
> implementations. This change would make the code more concise and readable. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to