amadeu01
10/11/2019, 1:09 AMgildor
10/11/2019, 1:30 AMPablichjenkov
10/11/2019, 4:10 AMgildor
10/11/2019, 4:42 AMPablichjenkov
10/11/2019, 4:44 AM?
to declare a nullable type reference.gildor
10/11/2019, 4:44 AMPablichjenkov
10/11/2019, 4:44 AMPablichjenkov
10/11/2019, 4:45 AMgildor
10/11/2019, 4:48 AMgildor
10/11/2019, 4:48 AMPablichjenkov
10/11/2019, 4:55 AMgildor
10/11/2019, 4:56 AMgildor
10/11/2019, 4:57 AMas per Wikipedia Swift started internal development in 2010 the same year as Kotlin.We don’t know anything about state of Swift or syntax at this point
Pablichjenkov
10/11/2019, 4:59 AM!!
operator, haven't seen it in any other languages.Pablichjenkov
10/11/2019, 5:02 AMmagisu
10/11/2019, 7:33 AMelizarov
10/11/2019, 2:37 PMShoulders of giants: Languages Kotlin learned from
elizarov
10/11/2019, 2:41 PMPablichjenkov
10/11/2019, 3:23 PMelizarov
10/11/2019, 3:26 PMelizarov
10/11/2019, 3:28 PMPablichjenkov
10/11/2019, 3:37 PM?
nullable mark. However, still a mystery for !!
and if let
. Although the usage of if let
syntax in Swift is slightly different from pure ?.let
in Kotlin.elizarov
10/11/2019, 4:10 PMif (...) { ... }
use parenthesis. The desire was to ensure that function calls with lambdas like synchronized(ref) { ... }
looks similarly to built-in constructs.