https://kotlinlang.org logo
#announcements
Title
# announcements
s

scott

06/05/2017, 9:02 PM
I can’t tell you you are talking about inline functions or functionality intrinsic to the language @diesieben07
d

diesieben07

06/05/2017, 9:18 PM
scott: Well, the fact that for
for (i in 1..10)
the compiler optimizes away the Range object is a compiler intrinsic. But the code would run just as well without that intrinsic, it is just an optimization. But you do not need to know that it exists to write the code.
Inline functions are just a language feature, nothing to do with intrinsics.
s

scott

06/05/2017, 10:41 PM
Yeah I understand the difference. Wanted to make sure we were talking about the same thing.