Post AZagsHejg1cbSZogSm by cuchaz@gladtech.social
 (DIR) More posts by cuchaz@gladtech.social
 (DIR) Post #AZagsHejg1cbSZogSm by cuchaz@gladtech.social
       2023-09-08T21:53:07Z
       
       0 likes, 0 repeats
       
       Also, curse you #Kotlin and #Rust for having different syntaxes for range values and confusing the hell out of me! :blobcatreeeeeee: In Kotlin, `x .. y` includes the upper bound and `x until y` doesn't.In Rust, `x ..= y` includes the upper bound and `x .. y` doesn't.Perfect, right? :blobCatGooglyTableFlip: For the record, I like Rust's range syntax much much better.But damn if switching from Rust to Kotlin isn't going to introduce a TON of subtle bugs in my code! :blobcatverysad:
       
 (DIR) Post #AZagsJ64Jt4zvdc1ho by alexelcu@social.alexn.org
       2023-09-09T05:14:20Z
       
       0 likes, 0 repeats
       
       @cuchaz Kotlin also has this operator:x ..< y
       
 (DIR) Post #AZagsKG20KdvWpHUsC by cuchaz@gladtech.social
       2023-09-09T12:36:12Z
       
       0 likes, 0 repeats
       
       @alexelcu Yeah, that one's a little better, but sadly I can't use Kotkin 1.9 for this project. :blobcatverysad: