yegor256 / cactoos

Object-Oriented Java primitives, as an alternative to Google Guava and Apache Commons
https://www.cactoos.org
MIT License
734 stars 162 forks source link

StringsInCamelCase #1678

Closed h1alexbel closed 1 year ago

h1alexbel commented 1 year ago

Hi @victornoel and @yegor256! While developing eo-kafka we realized that we need an object that will take a collection of strings and camel-cased them. We have an actual implementation, but to make it more reusable we can try to push it into the cactoos.org library to have a nice ability to use this object in other our projects.

So, take a look, please.

victornoel commented 1 year ago

@h1alexbel thank you, let's see if 0crat assign a reviewer :)

victornoel commented 1 year ago

@0crat in

victornoel commented 1 year ago

@h1alexbel I'm wondering if instead, won't we want a new class that allows to upper case one string? and then anybody can use iterable.Mapped to apply it to an iterable of string? This class would implement Text

victornoel commented 1 year ago

@h1alexbel hehe, actually this already exists: https://github.com/yegor256/cactoos/blob/master/src/main/java/org/cactoos/text/Capitalized.java

So either we don't need the proposed change, or maybe rewrite it with Capitalized to see how it goes?

h1alexbel commented 1 year ago

@victornoel yeah, Capitalized will be our choice. Thanks for the advice!

0crat commented 1 year ago

@sereshqua/z please review this job completed by @andreoss/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

0crat commented 1 year ago

Pull request #1678 was not merged, no payment for ARC, see §28