3 ms·
We thought about different alternatives, but nobody came up with anything that looked better. It's important for the sigil to look lightweight, as you tend to t
by pcwalton 13y ago
We thought about different alternatives, but nobody came up with anything that looked better. It's important for the sigil to look lightweight, as you tend to type it a lot, especially next to the reference sigil &. If it's something that looks heavyweight, like @ or a keyword, then it just clutters up definitions. You don't want constant strings to look like "&lifetime(static) str" or something, and "&@static str" just looks ugly.
Besides, ' suggests "type parameter" to ML users, so there's some precedent.