mg6maciej
04/26/2017, 10:06 PMcedric
04/27/2017, 4:28 PMevanchooly
04/27/2017, 7:06 PMsnrostov
04/27/2017, 10:42 PMtrevjones
04/28/2017, 3:03 PMnoctarius
04/30/2017, 11:47 AMorangy
05/01/2017, 10:37 AMprintln
, no complex graphics, no objects, no functions. First teach decomposition with functions, then introduce a little bit of data classes without any methods, etc. The most complex thing to teach was actually not something specific to Kotlin, it was “memory model”, i.e. how data is represented inside a computer memory, the concept of a “reference”, the concept of a type of a memory data (even if as simple as String or data class), etc. YMMV, but I believe Kotlin is really good for teaching.louiscad
05/01/2017, 10:56 AMorangy
05/01/2017, 10:56 AMlouiscad
05/01/2017, 11:08 AMpoohbar
05/01/2017, 11:37 AMkoufa
05/01/2017, 7:20 PMgroostav
05/01/2017, 9:34 PMChannel
(or other coroutine/threading device), I would really appreciate the ability to tell the JVM that this thing just needs maybe 8Kb of stack.chris-hatton
05/02/2017, 11:25 AMnull
elements in streams. In cases where null
is notionally valid; such as a stream to fetch some cached user data, where there may be none... is it advisable to model these as exceptions NoUserDataException
?sreich
05/02/2017, 5:20 PMdamian
05/02/2017, 6:44 PMmg6maciej
05/03/2017, 3:07 PMmiha-x64
05/03/2017, 3:14 PMokay_face.jpg
you’re rightRuckus
05/03/2017, 3:16 PMval
implies referential immutability, meaning it can't be reassigned. It has nothing to do with the mutability of object itself. That's up to the object (more specifically it's class definition) to provide.
(This definition is only true for properties with backing fields)orangy
05/03/2017, 8:25 PMsigurdsa
05/04/2017, 8:22 AMsigurdsa
05/04/2017, 10:42 AMjmfayard
05/04/2017, 2:59 PMpoohbar
05/05/2017, 5:46 PMcedric
05/05/2017, 10:12 PMhttp://i.imgur.com/LwdWaAl.jpg▾
thomasnield
05/06/2017, 4:59 AMSequence<T>
into a Sequence<List<T>>
, where each List<T>
is a consecutive batch of 10 T
items?diesieben07
05/06/2017, 2:48 PMcodeslubber
05/07/2017, 9:24 PMcedric
05/08/2017, 5:58 AMbamdmux
05/08/2017, 11:38 AMbamdmux
05/08/2017, 11:38 AMelect
05/08/2017, 11:38 AM