|
|
|
|
|
by RedComet
535 days ago
|
|
It is common in term of frequency of new languages using it, perhaps, but not otherwise. And again, the point is that Kotlin brings along extra characters AND variation. What's next, `fnctn myFunction(x : Int)~ Int { /* code */ }`? Why? Just to be quirky? To avoid some hypothetical lawsuit? |
|
And I already explained the reasoning. No, it's not to avoid the lawsuit, it's because many people genuinely find it more readable for various reasons. Which is why it keeps showing up in all kinds of languages that are otherwise wildly different syntactically.