Replies: 1 comment 1 reply
-
Yes, that's the strategy we've been using. It'll work for 1-2 years, and will result in a deprecation warning. vfmt will automatically update the code. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To clarify what I mean by the title, is that recently Vlang switch to
{var}
, instead of using$var
and${var}
for string interpolation. Great, maybe this can be argued as an improvement, if'{{{var}}}'
is not considered visually confusing. However, lots of code has the older syntax,${var}
, which needs to be replaced if it isn't going to be kept (though perhaps it should be kept around).When these syntax changes are made, perhaps an estimated expiration date and warning should be given. The warning should not prevent the code from running or compiling, and have the estimated date of when that syntax will no longer work. Sometime after the expiration date, usage of such syntax becomes an error. What say ye all?
Beta Was this translation helpful? Give feedback.
All reactions