Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Derek Parnell
On Sun, 05 Jul 2009 22:05:10 -0700, Walter Bright wrote: Something for everyone here. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.046.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.031.zip The -deps= switch is

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Derek Parnell
On Sun, 05 Jul 2009 22:05:10 -0700, Walter Bright wrote: Something for everyone here. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.046.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.031.zip One of the very much

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
Derek Parnell wrote: One of the very much appreciated updates here is Implicit integral conversions that could result in loss of significant bits are no longer allowed.. An excellent enhancement, thank you. Thank Andrei for that, he was the prime mover behind it. But I am confused as this

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Derek Parnell
On Sun, 05 Jul 2009 23:35:24 -0700, Walter Bright wrote: Derek Parnell wrote: One of the very much appreciated updates here is Implicit integral conversions that could result in loss of significant bits are no longer allowed.. An excellent enhancement, thank you. Thank Andrei for that, he

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Tim Matthews
Walter Bright wrote: Daniel Keep wrote: Ooooh... looks very nice. Thanks again, Walter. :) Actually, a lot of people worked on this release, not just me. Incidentally, the links to Final Switch Statement and Case Range Statement in the changelog for 2.031 are broken. You quoted that but

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
Derek Parnell wrote: I'm struggling to see why the compiler cannot just disallow any signed-unsigned implicit conversion? Is it a matter of backward compatibility again? What's the signed-ness of 5? When you index a pointer, is the index signed or unsigned?

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
Derek Parnell wrote: I'm struggling to see why the compiler cannot just disallow any signed-unsigned implicit conversion? Is it a matter of backward compatibility again? What's the signed-ness of 5? When you index a pointer, is the index signed or unsigned?

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread MIURA Masahiro
Thanks for the new release! Are case ranges limited to 256 cases? % cat -n foo.d 1 import std.conv; 2 import std.stdio; 3 4 void main(string[] args) 5 { 6 int i = to!int(args[0]); 7 8 switch (i) { 9 case int.min: .. case -1: //

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread のしいか (noshiika)
Thank you for the great work, Walter and all the other contributors. But I am a bit disappointed with the CaseRangeStatement syntax. Why is it case 0: .. case 9: instead of case 0 .. 9: With the latter notation, ranges can be easily used together with commas, for example: case 0, 2

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
MIURA Masahiro wrote: Thanks for the new release! Are case ranges limited to 256 cases? Yes.

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
のしいか (noshiika) wrote: Thank you for the great work, Walter and all the other contributors. But I am a bit disappointed with the CaseRangeStatement syntax. Why is it case 0: .. case 9: instead of case 0 .. 9: With the latter notation, ranges can be easily used together with commas, for

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread grauzone
Walter Bright wrote: のしいか (noshiika) wrote: Thank you for the great work, Walter and all the other contributors. But I am a bit disappointed with the CaseRangeStatement syntax. Why is it case 0: .. case 9: instead of case 0 .. 9: Or case [0..10]: ? Compatible to how list slicing

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
grauzone wrote: Also, Walter, did you ever think about doing something about the fall-through-by-default issue? Of course in a way that preserves C compatibility. There have always been much more pressing issues.

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Tim Matthews
grauzone wrote: Walter Bright wrote: のしいか (noshiika) wrote: Thank you for the great work, Walter and all the other contributors. But I am a bit disappointed with the CaseRangeStatement syntax. Why is it case 0: .. case 9: instead of case 0 .. 9: Or case [0..10]: ? Compatible to

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Lutger
Thanks everybody!

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Derek Parnell
On Mon, 06 Jul 2009 00:11:26 -0700, Walter Bright wrote: Derek Parnell wrote: I'm struggling to see why the compiler cannot just disallow any signed-unsigned implicit conversion? Is it a matter of backward compatibility again? What's the signed-ness of 5? Positive. A positive number can

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread grauzone
Tim Matthews wrote: grauzone wrote: Walter Bright wrote: のしいか (noshiika) wrote: Thank you for the great work, Walter and all the other contributors. But I am a bit disappointed with the CaseRangeStatement syntax. Why is it case 0: .. case 9: instead of case 0 .. 9: Or case

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Denis Koroskin
On Mon, 06 Jul 2009 12:19:47 +0400, Walter Bright newshou...@digitalmars.com wrote: MIURA Masahiro wrote: Thanks for the new release! Are case ranges limited to 256 cases? Yes. Does it compare on case-by-case basis? Up to 256 comparisons?

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Denis Koroskin
On Mon, 06 Jul 2009 09:05:10 +0400, Walter Bright newshou...@digitalmars.com wrote: Something for everyone here. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.046.zip http://www.digitalmars.com/d/2.0/changelog.html

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Denis Koroskin
On Mon, 06 Jul 2009 14:13:45 +0400, Walter Bright newshou...@digitalmars.com wrote: Derek Parnell wrote: On Mon, 06 Jul 2009 00:11:26 -0700, Walter Bright wrote: Derek Parnell wrote: I'm struggling to see why the compiler cannot just disallow any signed-unsigned implicit conversion? Is it

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
Denis Koroskin wrote: Does it compare on case-by-case basis? Up to 256 comparisons? What do you mean? Obj2asm will show what it is doing.

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Anders F Björklund
Walter Bright wrote: Something for everyone here. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.046.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.031.zip The dmd2 phobos seem to have a directory replaced with a file,

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
Derek Parnell wrote: On Mon, 06 Jul 2009 00:11:26 -0700, Walter Bright wrote: Derek Parnell wrote: I'm struggling to see why the compiler cannot just disallow any signed-unsigned implicit conversion? Is it a matter of backward compatibility again? What's the signed-ness of 5? Positive. A

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
Denis Koroskin wrote: auto x = p1 - p2; What's the type of x? ptrdiff_t, signed counterpart of size_t Do you really want an error if you go: size_t y = p1 - p2; ?

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
grauzone wrote: No. Also, this final switch feature seems to be only marginally useful, and normal switch statements do the same, just at runtime. So much for more pressing issues but it's his language and not mine so I'll shut up. The final switch deals with a problem where you add an enum

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Jason House
Walter Bright Wrote: のしいか (noshiika) wrote: Thank you for the great work, Walter and all the other contributors. But I am a bit disappointed with the CaseRangeStatement syntax. Why is it case 0: .. case 9: instead of case 0 .. 9: With the latter notation, ranges

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Derek Parnell
On Mon, 06 Jul 2009 03:13:45 -0700, Walter Bright wrote: Derek Parnell wrote: On Mon, 06 Jul 2009 00:11:26 -0700, Walter Bright wrote: Derek Parnell wrote: I'm struggling to see why the compiler cannot just disallow any signed-unsigned implicit conversion? Is it a matter of backward

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread bearophile
I have just started trying the latest D1 compiler; if I try to compile my dlibs DMD stops with this error: Assertion failure: '0' on line 136 in file 'statement.c' I'll try to locate the trouble better. I can see a very large amount of bug fixes. Use of with symbols that

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Jason House
randomSample is in the changelig, but not documented http://www.digitalmars.com/d/2.0/phobos/std_random.html Walter Bright Wrote: Something for everyone here. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.046.zip

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Lutger
bearophile wrote: ... D does introduce another operator, the :..case operator g. Unfortunately the brain of all people will see just .. as the operator there, and it has a different semantics there, it's a special case. I am not going to like this. I don't think that will happen. After

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Ary Borenszweig
のしいか (noshiika) escribió: Thank you for the great work, Walter and all the other contributors. But I am a bit disappointed with the CaseRangeStatement syntax. Why is it case 0: .. case 9: instead of case 0 .. 9: With the latter notation, ranges can be easily used together with commas,

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Christian Kamm
Walter Bright Wrote: The deps thing comes from the LDC group. They've been relying on it as-is, so they'd need to agree on any changes. Actually, it's from Tomasz' xfBuild http://wiki.team0xf.com/index.php?n=Tools.XfBuild . As it is intended as a generally useful dependency format though,

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread BCS
Hello Derek, The -deps= switch is helpful, but can we also have a -nogen switch so that a compile is done but no object files are created. look at: -o-

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Andrei Alexandrescu
Jason House wrote: Walter Bright Wrote: ���� (noshiika) wrote: Thank you for the great work, Walter and all the other contributors. But I am a bit disappointed with the CaseRangeStatement syntax. Why is it case 0: .. case 9: instead of case 0 .. 9: With the latter notation,

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Andrei Alexandrescu
bearophile wrote: Jason House: Hardly. There seemed to mostly be complaints about it with Andrei saying things like I can't believe you don't see the elegance of the syntax. In the end, Andrei commented that he shouldn't involve the community in such small changes and went silent. He was

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Andrei Alexandrescu
bearophile wrote: Regarding switch(), can be a static switch useful? To solve the semantic special case of .. in switch cases D2 may use a compromise, keep the case-case syntax of Andrei, but use three points: case 0: ... case 10: Why? Andrei

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Andrei Alexandrescu
Ary Borenszweig wrote: Andrei Alexandrescu wrote: Ary Borenszweig wrote: のしいか (noshiika) escribió: Thank you for the great work, Walter and all the other contributors. But I am a bit disappointed with the CaseRangeStatement syntax. Why is it case 0: .. case 9: instead of case 0 .. 9:

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
grauzone wrote: Walter Bright wrote: のしいか (noshiika) wrote: But I am a bit disappointed with the CaseRangeStatement syntax. Why is it case 0: .. case 9: instead of case 0 .. 9: Or case [0..10]: ? Compatible to how list slicing works. Ah yes, bikeshed issue, but my solution is

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
Derek Parnell wrote: Safety is supposed to be enhance by using D, is it not? See my post to Denis. Requiring too many casts reduces safety by essentially disabling the static type checking system.

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
Denis Koroskin wrote: I'd put an assert and mad a case explicit, if there is a size_t is so badly needed for ptr difference: assert(p1 = p2); size_t y = cast(size_t)p1 - p2; Aside from the typo in that code (!) the problem with casts is they are a sledgehammer approach. Casts should be

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
Ary Borenszweig wrote: Walter Bright escribio': MIURA Masahiro wrote: Thanks for the new release! Are case ranges limited to 256 cases? Yes. Why? To avoid dealing with it in the back end for the moment. The back end will die if you pass it 3,000,000 case statements :-)

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Denis Koroskin
On Mon, 06 Jul 2009 14:12:40 +0400, Walter Bright newshou...@digitalmars.com wrote: Denis Koroskin wrote: Does it compare on case-by-case basis? Up to 256 comparisons? What do you mean? Obj2asm will show what it is doing. I mean, will it translate switch (i) { case 0: ..

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Ary Borenszweig
Denis Koroskin wrote: On Mon, 06 Jul 2009 14:12:40 +0400, Walter Bright newshou...@digitalmars.com wrote: Denis Koroskin wrote: Does it compare on case-by-case basis? Up to 256 comparisons? What do you mean? Obj2asm will show what it is doing. I mean, will it translate switch (i) {

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread BCS
Reply to Walter, Ary Borenszweig wrote: Walter Bright escribio': MIURA Masahiro wrote: Thanks for the new release! Are case ranges limited to 256 cases? Yes. Why? To avoid dealing with it in the back end for the moment. The back end will die if you pass it 3,000,000 case statements

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Chad J
Andrei Alexandrescu wrote: Ary Borenszweig wrote: Andrei Alexandrescu wrote: Ary Borenszweig wrote: のしいか (noshiika) escribió: Thank you for the great work, Walter and all the other contributors. But I am a bit disappointed with the CaseRangeStatement syntax. Why is it case 0: .. case

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Chad J
Walter Bright wrote: grauzone wrote: No. Also, this final switch feature seems to be only marginally useful, and normal switch statements do the same, just at runtime. So much for more pressing issues but it's his language and not mine so I'll shut up. The final switch deals with a problem

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Derek Parnell
On Mon, 6 Jul 2009 15:03:20 + (UTC), BCS wrote: Hello Derek, The -deps= switch is helpful, but can we also have a -nogen switch so that a compile is done but no object files are created. look at: -o- Thanks, I've never noticed that switch before. Excellent. -- Derek Parnell

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Andrei Alexandrescu
Chad J wrote: Walter Bright wrote: grauzone wrote: No. Also, this final switch feature seems to be only marginally useful, and normal switch statements do the same, just at runtime. So much for more pressing issues but it's his language and not mine so I'll shut up. The final switch deals

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Chad J
Walter Bright wrote: Denis Koroskin wrote: I'd put an assert and mad a case explicit, if there is a size_t is so badly needed for ptr difference: assert(p1 = p2); size_t y = cast(size_t)p1 - p2; Aside from the typo in that code (!) the problem with casts is they are a sledgehammer

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Denis Koroskin
On Mon, 06 Jul 2009 22:48:07 +0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Chad J wrote: Walter Bright wrote: grauzone wrote: No. Also, this final switch feature seems to be only marginally useful, and normal switch statements do the same, just at runtime. So much for

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread BCS
Reply to Chad, Walter Bright wrote: The fall-through thing, though, is purely local and so much less of an issue. huh? These bugs always take me no less than 2 hours to find, unless I am specifically looking for fall-through bugs. They are that evil kind of bug where you can stare at the

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Ary Borenszweig
Denis Koroskin wrote: On Mon, 06 Jul 2009 22:48:07 +0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Chad J wrote: Walter Bright wrote: grauzone wrote: No. Also, this final switch feature seems to be only marginally useful, and normal switch statements do the same, just at

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Derek Parnell
On Mon, 06 Jul 2009 11:02:12 -0700, Walter Bright wrote: Derek Parnell wrote: Safety is supposed to be enhance by using D, is it not? See my post to Denis. Requiring too many casts reduces safety by essentially disabling the static type checking system. I totaly agree that cast() should

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread bearophile
Andrei Alexandrescu: I agree. Probably a good option would be to keep on requiring break, but also requiring the user to explicitly specify they want fallthrough in the rare case when they do want it. I'd love to use continue for that but it's already occupied by cases like while (...) switch

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Andrei Alexandrescu
Denis Koroskin wrote: Reuse goto? So any case-labeled code should end either with a control flow statement that transfers control elswhere? That sounds like a great idea. Fall-through is so rare and so rarely intended, it makes sense to require the programmer to state the intent explicitly

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Andrei Alexandrescu
Derek Parnell wrote: On Mon, 06 Jul 2009 13:47:44 -0500, Andrei Alexandrescu wrote: Chad J wrote: Walter Bright wrote: grauzone wrote: No. Also, this final switch feature seems to be only marginally useful, and normal switch statements do the same, just at runtime. So much for more pressing

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Chad J
Andrei Alexandrescu wrote: Chad J wrote: These bugs always take me no less than 2 hours to find, unless I am specifically looking for fall-through bugs. I agree. Probably a good option would be to keep on requiring break, but also requiring the user to explicitly specify they want

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Chad J
Chad J wrote: Andrei Alexandrescu wrote: Chad J wrote: These bugs always take me no less than 2 hours to find, unless I am specifically looking for fall-through bugs. I agree. Probably a good option would be to keep on requiring break, but also requiring the user to explicitly specify they

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Andrei Alexandrescu
Chad J wrote: Andrei Alexandrescu wrote: Chad J wrote: These bugs always take me no less than 2 hours to find, unless I am specifically looking for fall-through bugs. I agree. Probably a good option would be to keep on requiring break, but also requiring the user to explicitly specify they

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Chad J
Andrei Alexandrescu wrote: [awesome stuff] Andrei

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread grauzone
You are just saying it's ugly. I don't think it's ugly. Walter doesn't think it's ugly. Other people don't think it's ugly. Many of the people who said it's ugly actually came up with proposals that are arguably ugly, hopelessly confusing, or both. Look at only some of the rehashed proposals

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread grauzone
In any way, I think we should completely redesign the switch statement and give it a different syntax. No more C compatibility. No more Duff's device. We can keep the old switch statement for that. PS: we could add awesome stuff like pattern matching to this, which would make D much more

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
grauzone wrote: I oriented this on the syntax of array slices. Which work that way. Not inconsistent at all. It's also consistent with foreach(_; x..y). It would look consistent, but it would behave very differently. x..y for foreach and slices is exclusive of the y, while case x..y is

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Andrei Alexandrescu
grauzone wrote: You are just saying it's ugly. I don't think it's ugly. Walter doesn't think it's ugly. Other people don't think it's ugly. Many of the people who said it's ugly actually came up with proposals that are arguably ugly, hopelessly confusing, or both. Look at only some of the

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Nick Sabalausky
Walter Bright newshou...@digitalmars.com wrote in message news:h2u735$sn...@digitalmars.com... grauzone wrote: I oriented this on the syntax of array slices. Which work that way. Not inconsistent at all. It's also consistent with foreach(_; x..y). It would look consistent, but it would

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Jesse Phillips
On Mon, 06 Jul 2009 14:38:53 -0500, Andrei Alexandrescu wrote: Denis Koroskin wrote: Reuse goto? So any case-labeled code should end either with a control flow statement that transfers control elswhere? That sounds like a great idea. Fall-through is so rare and so rarely intended, it makes

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread BCS
Hello Ary, But that's kind of redundant: case 1: goto case 11: case 11: goto case 111: case 111: goto case : case : doIt(); don't you think? case 1, 11, 111, : doIt(); If you change the case expression, you must change it twice. Why not: case 1: continue case; case 11:

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Walter Bright
Derek Parnell wrote: However, that aside, the syntax you have chosen will have a rational explanation for its superiority. So can you explain in simple terms why CaseLabelInt .. CaseLabelInt eg. case 1: .. case 9: is superior than case CaseRange: eg. case 1 .. 9: given that

Re: dmd 1.046 and 2.031 releases - is() expression

2009-07-06 Thread The Anh Tran
Andrei Alexandrescu wrote: I agree there are ugly constructs in D, and is-expressions would near the top of the list (particularly the absolutely awful is(T : T[])), but you have no case (heh) with the switch statement. Andrei Just a funny suggestion: could we change the is() expression to

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Andrei Alexandrescu
Nick Sabalausky wrote: Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message news:h2udmf$1b0...@digitalmars.com... Nick Sabalausky wrote: Walter Bright newshou...@digitalmars.com wrote in message news:h2u735$sn...@digitalmars.com... grauzone wrote: I oriented this on the syntax

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Andrei Alexandrescu
Derek Parnell wrote: On Mon, 06 Jul 2009 21:59:54 -0500, Andrei Alexandrescu wrote: There's a lot of punctuation that has different roles depending on the context. Agreed. No argument here. The meaning of punctuation depends on its context. Got it. However, that aside, the syntax you have

Re: dmd 1.046 and 2.031 releases - is() expression

2009-07-06 Thread Andrei Alexandrescu
The Anh Tran wrote: Andrei Alexandrescu wrote: I agree there are ugly constructs in D, and is-expressions would near the top of the list (particularly the absolutely awful is(T : T[])), but you have no case (heh) with the switch statement. Andrei Just a funny suggestion: could we change

Re: dmd 1.046 and 2.031 releases

2009-07-06 Thread Daniel Keep
Andrei Alexandrescu wrote: bearophile wrote: Jason House: Hardly. There seemed to mostly be complaints about it with Andrei saying things like I can't believe you don't see the elegance of the syntax. In the end, Andrei commented that he shouldn't involve the community in such small