Skip to content

Commit

Permalink
Extend alternatives
Browse files Browse the repository at this point in the history
As suggested by Steve Klabnik, we can also have both `be` and `become`
as reserved keywords.
  • Loading branch information
ranma42 committed Jan 20, 2015
1 parent 2a4b7d2 commit 926fbe3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion text/0000-be2become.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ Some code might be using `become` as an identifier.

# Alternatives

The main alternative is to keep the `be` keyword reserved for supporting guaranteed tail calls in a backward-compatible way. Using `become` as the keyword for tail calls would not be backward-compatible because it would introduce a new keyword, which might have been used in valid code.
The main alternative is to do nothing, i.e. to keep the `be` keyword reserved for supporting guaranteed tail calls in a backward-compatible way. Using `become` as the keyword for tail calls would not be backward-compatible because it would introduce a new keyword, which might have been used in valid code.

Another option is to add the `become` keyword, without removing `be`. This would have the same drawbacks as the current proposal (might break existing code), but it would also guarantee that the `become` keyword is available in the future.

# Unresolved questions

0 comments on commit 926fbe3

Please sign in to comment.