Another switch

2014-02-09 Thread Giacomo Cau
Hello to all I wish to submit a little proposal. Today the switch statement has an explicit break at the end of the statement and an implicit continue to the next case but this break is very boring and error prone. Wouldn’t it be possible to think a switch that has an explicit

Re: Another switch

2014-02-17 Thread Giacomo Cau
-Messaggio originale- From: Brendan Eich Sent: Wednesday, February 12, 2014 2:00 AM To: Nathan Wall Cc: Giacomo Cau ; es-discuss@mozilla.org Subject: Re: Another switch Definitely good to see new languages being designed and implemented. JS is not going to break compatibility