Second question: I know there's a way to override ...
# general-advice
c
Second question: I know there's a way to override the assignment operator (
=
) with kotlin-assignment-plugin, but is there a way to do the same for
is
? I love making DSLs. It's so much fun to screw with the language to make code more readable.
c
There's not, and it would be a very bad idea. DSLs are only readable because the rules for each operator are clear and you can easily encover what everything actually does*