Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for escaped-colon syntax in favor of using ${} for formatting in the future #28

Closed
tecosaur opened this issue Dec 31, 2023 · 2 comments · Fixed by #30
Closed

Comments

@tecosaur
Copy link
Collaborator

I'm thinking it could be worth reverting 5dd8b9e considering the annoyances with requiring : to be escaped laid out in #1, and that this change would be annoying to make in a backwards-compatible way past the initial release (currently ${} is a syntax error, so it can be introduced in the future as a non-breaking change).

I'd like to get other people's thoughts on this, but if there aren't any comments against the change within the next fortnight or so I'll just do it.

@jariji
Copy link

jariji commented Jan 2, 2024

I'll just mention I think Swift's "foo \(bar) baz" would probably have been a better syntax than $ for Julia string escape. Since \ is already special syntax we don't lose anything, whereas $ is otherwise valid in a string.

@tecosaur
Copy link
Collaborator Author

tecosaur commented Jan 3, 2024

Yea, I personally prefer \(interpolate) too but I think that ship has already sailed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants