3 ms·
The other reason is interop with other languages, which might have their own rules for identifiers.
by int_19h 2y ago
The other reason is interop with other languages, which might have their own rules for identifiers.
- codr7 2y agoI'm trying and failing miserably to think of a single example of such a language.
- akdor1154 2y ago.NET allows pretty much anything except a space, i think?
- codr7 2y agoAnd you can call into .NET (I assume that means C#) directly from Swift?
- neonsunset 2y agoKind of? :) https://github.com/royalapplications/beyondnet https://github.com/royalapplications/beyondnet
- layer8 2y agoYou 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).