How would I even know that I can type + something
# dsl
k
How would I even know that I can type + something
s
I’m not a huge fan of the
+”something”
syntax in general. Would be interested to hear from someone who can justify its use
w
I think code completion would show you
plus
yep confirmed
h
I don't care for it either
k
I'm not seeing the "plus" in the code completion in the screenshot above. It would have to be "unaryPlus" to match the overloaded operator.
As for +something, I find that it looks attractive in these small demos, but doesn't scale well to more realistic scenarios.