Infix functions

I definitely don't think Kotlin should be consistent with Java. But I think it would be better if it were consistent with itself.

I guess it’s a matter of personal taste. I’m not a fan of internal DSLs and functions pretending to be keywords. I would prefer a bit less flexibility in exchange for more consistent code that’s easier to read and understand.

1 Like

I think that infix can actually add more fluid and readable code in cases. In terms of abusing, many things in a language can lead to abuse but I don't think we should let that hinder some of the benefits that certain features add.