Another syntactic under-performer

Bill Baxter wbaxter at gmail.com
Tue Oct 14 01:07:14 PDT 2008


On Tue, Oct 14, 2008 at 4:59 PM, ore-sama <spam at here.lot> wrote:
> Bill Baxter Wrote:
>
>> I've seen a few
>> interesting proposals that wanted to use colons but which ran into
>> troubles with ambiguity vs goto and switch labels.   But switch case
>> labels are already inside a syntactically distinct structure, so it
>> should be easy to change them to just about any syntax.
>
> there was interesting proposal for if-style case statement, which gives real structure to switch statement!
> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=77141
>

I saw the thread.   Like some others, I didn't really get the need for
that particular change.
I'd give it another look right now, but unfortunately links to that
web-news interface don't work right. :-(  That link goes to an
unrelated discussion.

--bb



More information about the Digitalmars-d mailing list