Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Discussion

There were no replies to the original proposal on the PC mailing list.

There were some comments, but not significant discussion, when Joe posted a blog entry detailing the proposal. Of the comments, I would highlight the following

  • support case-insensitive switch: another commented pointed out this is Locale-specific, which would complicate the proposal and implementation
  • null handling: several commenters requested that a special "case null" be supported. In the current proposal, switching on a null value will cause a NullPointerException to be thrown.