Kulwinder Singh
02/12/2019, 7:09 AMinline
classes in production android app ?,because its in experimentalgildor
02/12/2019, 7:21 AMlouiscad
02/12/2019, 7:34 AMgildor
02/12/2019, 7:38 AMhallvard
02/12/2019, 7:39 AMKulwinder Singh
02/12/2019, 7:43 AMhallvard
02/12/2019, 7:46 AMgildor
02/12/2019, 7:51 AMKulwinder Singh
02/12/2019, 7:53 AMgildor
02/12/2019, 7:56 AMghedeon
02/12/2019, 8:31 AM@Parcelize
is experimental but it's basically ready for release. Channels
are truly experimental and under a heavy development, with half of the API marked as obsolete. So it's an understandable desire to estimate the amount of refactoring if everything goes ballistic. I believe inline classes are more on the safe side here and I'd afford the risk.gildor
02/12/2019, 8:39 AMThis is library feature, not a language so at some point it’s much more “safe” to use Obsolete channels than new experimental language feature that involves a lot of compiler changes. Also Channels work fine and production ready, but yeah, API will be probably changed and will definitely moved to another package (which is not a problem by itself) My point that “safe”, “stable” and “production ready” are not absolute definitions and those terms has any sense only in context of your particular project, requirements and personal preferences And some experimental feature maybe “safe” and “stable” in one release and get some critical bugs in another and exactly the same may happen with any stable featureare truly experimental and under a heavy development, with half of the API marked as obsoleteChannels
Kulwinder Singh
02/12/2019, 8:49 AMgildor
02/12/2019, 9:18 AMthere are different levels of experimentalYes, but in terms of Kotlin there is pretty clear definition of what “experimental” is
Czar
02/12/2019, 11:38 AMKulwinder Singh
02/12/2019, 11:52 AMJake
02/12/2019, 9:05 PM