R – Variable name taken by keyword — your examples

keywordlanguage-designreserved-words

Have there been any cases where you wanted to use a word as a variable/function name, but couldn't because it was a reserved word in your language?

The ones that crop up over and over again for me are in and out in C#… Those would be great names for streams, but I'm always forced to use inn and outt instead.

EDIT: I'm not asking about help with this problem — I'm trying to learn from mistakes that past language designers have made. Your answers will influence a language I'm designing.

Best Answer

type and object. I don't like when my programming languages steal those :(