Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
int_19h
· 1y ago · 0 comments
The other reason is interop with other languages, which might have their own rules for identifiers.
Comments
[–]
layer8
1y ago
You can always work with aliases in that case. No strict need to “contaminate” a language with foreign identifier syntax, in particular if it’s still not 1:1 due to the backticks (e.g. identifiers containing backticks).
[–]
codr7
1y ago
I'm trying and failing miserably to think of a single example of such a language.
[–]
akdor1154
1y ago
.NET allows pretty much anything except a space, i think?
[–]
codr7
1y ago
And you can call into .NET (I assume that means C#) directly from Swift?
[–]
neonsunset
1y ago
Kind of? :)
https://github.com/royalapplications/beyondnet