This sounds like a good idea to me, too. I'm not a contributor, by I'd be 
happy to join in and help.
-- Miguel Muñoz
    On Friday, April 24, 2020, 11:17:44 PM PDT, Isira Seneviratne 
<isirase...@gmail.com> wrote:  
 
 On Sat, Apr 25, 2020, 11:45 AM Isira Seneviratne <isirase...@gmail.com>
wrote:

>
>
> On Sat, Apr 25, 2020, 11:22 AM Paul King <paul.king.as...@gmail.com>
> wrote:
>
>> The attachments didn't seem to come through. I am not on the commons PMC
>> but I would be -1 for changing the existing functionality.
>
>
That isn't my intention.

They already
>> work fine for Java and work already as Apache Groovy extension methods:
>>
>> @Grab('org.apache.commons:commons-lang3:3.10')
>> import org.apache.commons.lang3.StringUtils
>>
>> use(StringUtils) {
>>    assert 'The quick brown fox'.abbreviateMiddle('..', 8) == 'The..fox'
>>    assert 'abcdef'.rotate(3) == 'defabc'
>> }
>>
>> Rather than talking about "porting", why not just create a thin
>> re-purposing layer that provides additional functionality to Kotlin users.
>> That would be easy to do as a separate project and could be incorporated
>> into commons lang at a later date if there was sufficient interest?
>>
>
> Yeah, that sounds like a good idea. Thanks!
>
>
>> Cheers, Paul.
>>
>>
>> On Sat, Apr 25, 2020 at 2:24 PM Isira Seneviratne <isirase...@gmail.com>
>> wrote:
>>
>> > <isirase...@gmail.com>
>> > On Mon, Apr 20, 2020 at 8:41 PM Isira Seneviratne <isirase...@gmail.com
>> >
>> > wrote:
>> >
>> >> Hi all,
>> >>
>> >> I'm a new contributor, but I've been using Commons Lang for a while
>> now,
>> >> and I feel that porting Commons Lang to Kotlin would be very useful for
>> >> Kotlin development, as a lot of its methods (particularly those in the
>> >> Utils classes) are not present in the Kotlin standard library, and
>> these
>> >> could be written as extensions
>> >> <https://kotlinlang.org/docs/reference/extensions.html>.
>> >>
>> >> What do you guys think?
>> >> --
>> >> Isira Seneviratne
>> >> isirase...@gmail.com
>> >>
>> >
>> > I have attached some sample files if anyone is interested.
>> > --
>> > Isira Seneviratne
>> > isirase...@gmail.com
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> > For additional commands, e-mail: dev-h...@commons.apache.org
>>
>
  

Reply via email to