3 ms·
> You restated the idea of function colouring without further elaborating why it is a problem Did you not read my second paragraph?
by vips7L 5y ago
> You restated the idea of function colouring without further elaborating why it is a problem
Did you not read my second paragraph?
- ackfoobar 5y ago> I am also not sure It felt like a question more than a complaint. > create an interface that can be implemented by both suspending and synchronous functions If interface has a suspending method, the implementations will also be suspending. But you can choose not to make any suspend calls in the method body. Not being able to say "this particular implementation of a red interface is blue" has never bothered me.
- vips7L 5y agoI guess my complaint is that it doesn’t work with object oriented programming. It’s the same reason why I don’t like checked exceptions, checked nulls, or Result types.