Now that the Pandora’s box has
been opened, I would like to open discussion about contextualizing the
Not being able to use type as a variable or a field name has been a huge pet-peeve of mine. Dealing with “types” in programming is really common, and personally I have encountered this issue on most Rust projects I have started.
Alternatives that have been given to me suggest using “kind”, or the ridiculous "typ" or “type_”. These alternatives just don’t cut it for me, and make reading code needlessly difficult.
Would contextualizing the type-keyword lead to any backwards compatibility issues? Does the Rust-community have any interest in this?