camdenorrb
02/17/2019, 12:12 PMcamdenorrb
02/17/2019, 12:12 PMcamdenorrb
02/17/2019, 12:12 PMcamdenorrb
02/17/2019, 12:13 PMcamdenorrb
02/17/2019, 12:13 PMkassim
02/19/2019, 9:17 AMkarelpeeters
02/19/2019, 9:20 AMkarelpeeters
02/19/2019, 9:21 AMval x = "hello"
val y: Any = "hello"
noString(x) //you want to disallow this
noString(y) //but this will always be possible
cbruegg
02/19/2019, 9:22 AMnoString
won't be called with a String parameter. noString(x as Any)
worksSOFe
02/19/2019, 9:25 AMspand
02/19/2019, 9:25 AMSOFe
02/19/2019, 9:25 AMSOFe
02/19/2019, 9:25 AMSOFe
02/19/2019, 9:25 AMas Any
SOFe
02/19/2019, 9:26 AMas
, e.g. System.exit("abc" as Any as Int)
, but that'd obviously trigger a ClassCastExceptionSOFe
02/19/2019, 9:27 AMSOFe
02/19/2019, 9:27 AMSOFe
02/19/2019, 9:27 AMscript {+"Code"}
karelpeeters
02/19/2019, 9:38 AM"abc" as Any as Int
doesn't do anything, it's not a "workaround" it doesn't even start calling the function.sitepodmatt
02/19/2019, 10:31 AMsindrenm
02/19/2019, 11:35 AMCat
is not possible in these two (similar) cases? This is mainly out of curiosity, as I was explaining sealed classes to a colleague and kind of expected this to work.karelpeeters
02/19/2019, 11:38 AMAlina Dolgikh [JB]
Alina Dolgikh [JB]
kotlin-stdlib-jdk7
and kotlin-stdlib-jdk8
merged into kotlin-stdlib
• Improved Objective-C/Swift interoperability
• Compatibility with Gradle 7.3
Learn about new features in your favourite format (📹 / 📕)Alina Dolgikh [JB]
Alina Dolgikh [JB]
Alina Dolgikh [JB]
Alina Dolgikh [JB]
Alina Dolgikh [JB]
hhariri
lateinit
.
• Use sequences and default argument values to write more expressive code.
By the end of this talk, you’ll have a deeper understanding of the advanced Kotlin techniques that are available to you as a Spring developer, and be able to use them effectively in your projects.
📆 Tuesday, February 14, 15:00 (UTC +2)
👉 Register
📹 Graceful Resource Handling Using Structured Concurrency in Kotlin
Modern programming often requires us to make strong guarantees about how our applications terminate. One way to do this is through the use of structured concurrency, which allows us to reason about parallel processes and how they relate to each other.
In this session, we will learn how to use Arrow’s Resource Domain-Specific Language (DSL) to reason about resource safety in the same way we use structured concurrency to avoid leaking resources. We will also see how this can be combined with KotlinX Coroutines to build complex use cases in a simple and elegant way using Kotlin DSLs.
📆 Thursday, February 16, 19:00 (UTC +2)
👉 Register
📹 Creative Coding With Kotlin and OPENRNDR
This talk will look at the OPENRNDR library and its capabilities as a tool for visually stunning artwork. We’ll begin with an introduction to the library and cover drawing basic shapes like circles and rectangles.
The focus of the talk will be a live coding session where we create a simple GUI and explore the compositor framework, showing the library in action and how it can be used to create complex visuals. We’ll conclude by showing how to create screenshots and videos of OPENRNDR projects to share them with the world. Join us to learn how to unleash the creative potential of OPENRNDR and create amazing visuals!
📆 Wednesday, February 22, 18:00 (UTC +2)
👉 Register (edited)