NEW OPERATOR in Kotlin (and true open-ended ranges)

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Oh this will make my life so much better. Lots of date range checking and quarter bucketing.

prateeksaraswat
Автор

You're rcoking, happy to see you in good shape, I've seen you transformed from video to video, keep up the hard work and see you on the next Kotlin Tip, please we need tutorials about KMM

ChaidaIsmail
Автор

Really enjoyed this video and it was smart to call out A.indices optimizations

nichojo
Автор

Thank you for this video that explains it very clearly. I learned a few things!

desertfish
Автор

Can OpenEndedRange be customized to also not include the start of the range?
E.g. when using a constructor instead of the range until operator, would it be possible for me to customize whether these values should be included, like through Boolean flags?

moritz_p
Автор

Kotlins life's span ends at the year ..<∞

bennyswayofficial
Автор

Hello, what theme are you using in your IDE? Congratulations on the content, it has a lot of quality! 😀

douglasbertelli
Автор

Let's add more operators, we don't want any operator gap with Scala! >>-/< ?

donwald
Автор

what is the operator for open-started ranges? Is this the same but f.e. 2>..5?

buszi_
Автор

Awesome job kotlin!!! =))) kotlin for life!!!

peacefuldeityspath
Автор

Hold on a second. The IntelliJ IDEA is so different from mine. Which version is it?

xiao
Автор

recently before update I tried something very close to that and been upset when it appeared that I need to use "until" insted of something like that

MrZergerr
Автор

+1 for ..=
now if Rust can introduce ..< (which already has ..=), then I no longer have to wonder about if .. is open or closed ended when jumping between Kotlin and Rust :-D

How do these changes affect looping 10..1 or 10..<1, will they still loop zero times?

Also, are there any use-cases for open beginning ranges?

=..=
>..=
>..<
=..<

JanVladimirMostert
Автор

`..=`? Surely you mean `..<=` ... or maybe `<=..<=` ... *chuckle*

emersonfarrugia
Автор

Why is it called open ended, when it clearly has an end value?

s-w
Автор

What about 0..<Double.Infinite until Double.Infinite?

erfansn
Автор

before ..= oprator we need >.. oprator, no?

MrZergerr
Автор

this guy permanently has right brow up??

snowman
Автор

This video is not focused enough. It could be easily 30% shorter.

Tranquility_
Автор

Cool feature. Too bad LeetCode makes Kotlin look bad by running Kotlin 1.3.10 (a 3+ year old Kotlin version) in their problem solution evaluations. I won't be using this feature anytime soon for my daily Leetcode solutions, since LeetCode would just flag it as syntactical nonsense at compile time.

joeplayer