3 ms·
In Julia you can also use var”any string” to use any string as a variable name
by andyferris 3y ago
In Julia you can also use var”any string” to use any string as a variable name
- hexane360 3y agoI'm sure you know this, but this is actually a special case of a much more general rule; in Julia, prefixed string literals are implemented are passed on to macros: https://docs.julialang.org/en/v1/manual/metaprogramming/#meta-non-standard-string-literals https://docs.julialang.org/en/v1/manual/metaprogramming/#met... Such macros can be defined by libraries or the end user to provide special behavior.