Gasan
08/21/2023, 10:38 AMSebastian Aigner
08/21/2023, 11:03 AMGasan
08/21/2023, 11:44 AMSebastian Aigner
08/21/2023, 11:47 AMhorse_badorties
08/21/2023, 1:57 PMSebastian Aigner
08/21/2023, 1:59 PMhorse_badorties
08/21/2023, 2:03 PMSebastian Aigner
08/21/2023, 2:04 PMhorse_badorties
08/21/2023, 2:08 PMSebastian Aigner
08/21/2023, 2:09 PMStephan Schröder
08/21/2023, 2:49 PMhorse_badorties
08/21/2023, 3:40 PMJoffrey
08/21/2023, 4:38 PMI also find the concept of lambda (although long established) unnecessary. Function or function literal would suffice, as it's the same thing (as lambda).@Gasan are you referring to the name "lambda" or to the syntax style? In Kotlin there are 2 types of function literals: anonymous functions (
fun(x: Int): Int { println(x) }
) and lambda expressions ({ x -> println(x) }
), so we need names for both, hence why I'm asking.
Do you mean you would prefer the Kotlin language to only have anonymous functions?Stephan Schröder
08/22/2023, 7:48 AM