Join Slack
Powered by
like `operator fun shl(other: Foo): Foo { }` could...
# announcements
r
redrield
06/05/2017, 2:39 AM
like
operator fun shl(other: Foo): Foo { }
could work on
val foo = Foo(); foo << Foo()
v
voddan
06/05/2017, 3:16 AM
redrield: The reason is that bitwise operators are hardly ever used in modern application development. So instead of complicating the compiler quite a bit, Kotlin delegates the functionality to the library
Open in Slack
Previous
Next