orangy
tmg
12/11/2018, 9:23 AMorangy
zokipirlo
12/11/2018, 10:17 AMorangy
mzgreen
12/11/2018, 10:35 AMmzgreen
12/11/2018, 10:37 AMtypealias ComposedType = InterfaceFoo & InterfaceBar
hho
12/11/2018, 10:46 AM@JvmDefault
).Dominaezzz
12/11/2018, 10:46 AMDominaezzz
12/11/2018, 10:48 AMgildor
12/11/2018, 10:56 AMwhat’s so scary? 😄@ilya.gorbunov If we now have talks about this topic it means that 2.0 is probably closer that we (community) or maybe even Kotlin Team think 😃
gildor
12/11/2018, 11:01 AMorangy
Jakub Gwóźdź
12/11/2018, 11:07 AMgildor
12/11/2018, 11:10 AMJakub Gwóźdź
12/11/2018, 11:40 AMcbruegg
12/11/2018, 12:38 PMexpect/actual
pairs.cbruegg
12/11/2018, 12:39 PMgildor
12/11/2018, 1:11 PMgildor
12/11/2018, 1:12 PMdalexander
12/11/2018, 1:23 PMcbruegg
12/11/2018, 1:28 PMkenkyee
12/11/2018, 2:02 PMSam
12/11/2018, 2:42 PMpoohbar
12/11/2018, 3:03 PMDominaezzz
12/11/2018, 4:18 PMpoohbar
12/11/2018, 4:46 PMDaniel
12/11/2018, 5:57 PMpavel
12/11/2018, 6:35 PMpublic
by default to internal
by default. Otherwise I am pretty happy. Union types would be nice, but that can be done in 1.xjdiaz
12/11/2018, 6:43 PMnapperley
12/11/2018, 8:39 PMpavel
12/11/2018, 8:50 PMjmfayard
12/11/2018, 9:10 PMthomasnield
12/11/2018, 9:48 PMJacob Applin
12/11/2018, 11:52 PMpoohbar
12/11/2018, 11:59 PMJacob Applin
12/12/2018, 12:07 AMaarjav
12/12/2018, 3:23 AMjosephivie
12/12/2018, 5:18 PM?
) be created to describe whether or not the object is frozen. This kind of state really should be reflected in the type, because it breaks stuff in the same way null
does.gaetan
12/12/2018, 5:51 PMpoohbar
12/12/2018, 8:09 PMjmfayard
12/12/2018, 8:23 PMjdiaz
12/12/2018, 8:24 PMkenkyee
12/12/2018, 9:42 PMthelgis
12/13/2018, 4:20 PMursus
12/14/2018, 4:00 AMursus
12/14/2018, 4:00 AMgildor
12/14/2018, 5:31 AMgildor
12/14/2018, 5:32 AMand I also want lazy with arguments from local scopeimo it looks as anti-patern singleton with params. Why do you need this?
ursus
12/14/2018, 6:02 AMgildor
12/14/2018, 6:03 AMursus
12/14/2018, 6:03 AMursus
12/14/2018, 6:03 AMursus
12/14/2018, 6:04 AMursus
12/14/2018, 6:09 AMgildor
12/14/2018, 6:17 AMSuccessive calls of the function if need to !! in the else branch, just ugly..This has nothing with lazy and you don’t need
!!
Also it becoming offtopic for this threadursus
12/14/2018, 6:21 AMthelgis
12/14/2018, 9:17 AMdiego-gomez-olvera
12/14/2018, 11:34 AMpavel
12/14/2018, 9:22 PMthomasnield
12/14/2018, 9:36 PMpavel
12/14/2018, 9:50 PMursus
12/14/2018, 11:39 PMthomasnield
12/15/2018, 2:59 AMlouiscad
12/15/2018, 10:27 AMdeviant
12/18/2018, 10:59 AM&
,|
)
ternary operatorgildor
12/18/2018, 11:00 AMgildor
12/18/2018, 11:03 AMdeviant
12/18/2018, 11:11 AMif/else
instead of ?...:...
feels like a dirty hack. and lack of &,|
is even more weird, because we still use programming languages for ruling the machines. and bitwise operators always were first class things in any languages i know.
as for collection literals, well python and swift users dont suffer much, so why we should? 🙂cbruegg
12/18/2018, 11:12 AMcbruegg
12/18/2018, 11:13 AMgildor
12/18/2018, 11:13 AMcbruegg
12/18/2018, 11:13 AMgildor
12/18/2018, 11:14 AMlouiscad
12/18/2018, 1:31 PMval
subject in while loop, multiplatform and native new stuff) crosses my mind right now.littlelightcz
12/19/2018, 8:10 PMfor (i in items) {}
should be faster than items.forEach {}
. Unless it's already like that and in case I understand the current situation right, would it be possible to implement some general Sequence chained calls expansion into imperative boilerplate for maximum performance?juliocbcotta
12/21/2018, 1:27 PMgildor
12/21/2018, 2:07 PMapatrida
12/21/2018, 3:13 PMemit
(hat ^
) operator for the value being emitted from a lambda. It still remains the most "implied" thing about Kotlin that isn't evidently visible. The IDE hints help a bit, but they are implemented in a way that is too noisy.apatrida
12/21/2018, 3:15 PM+"text"
in the kotlinx.html DSL.