Support '+' operator on strings / printf macro #484
Closed
matiwinnetou
started this conversation in
Syntax suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This feels clunky to write:
Wouldn't it be better and smoother for a developer to write:
trace @"on: " + cbor.diagnostic(on_chain_results_hash)
alternatively support something like println or formatf
trace @formatf("on:%s", cbor.diagnostic(on_chain_results_hash))
Much better, of course ideal would be string interpolation but I guess we are far from this one.
Beta Was this translation helpful? Give feedback.
All reactions