commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-782) Specialized StringBuilder to allow simple creating of Strings from base Strings with variable arguments and proper punctuation
Date Tue, 17 Jul 2018 08:45:00 GMT

    [ https://issues.apache.org/jira/browse/LANG-782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16546202#comment-16546202
] 

Sebb commented on LANG-782:
---------------------------

I agree the use cases for this seem rather limited.

Whilst it may shorten the code in some cases, IMO it makes it harder to read compared with
String#format or StringBuilder#append plus the other existing methods.

> Specialized StringBuilder to allow simple creating of Strings from base Strings with
variable arguments and proper punctuation
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LANG-782
>                 URL: https://issues.apache.org/jira/browse/LANG-782
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.builder.*
>            Reporter: Darryl Smith
>            Priority: Minor
>             Fix For: Review Patch
>
>         Attachments: AffixBuilder.java, AffixBuilderTest.java, EnhancedBuilder.java
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Programmers frequently encounter a situation where there is a need to display messages
to users. This functionality is useful where there are logical rules around how to punctuate
lists of items or other situations.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message