Re: Three Unlikely Successful Features of D

2012-03-22 Thread Adam D. Ruppe
On Thursday, 22 March 2012 at 04:49:24 UTC, Nick Sabalausky wrote: And then later on someone made sort of a mini file-system where you could add data to a ROM image and then query/access it from your code Now, this reminds me, what if you want to access the compile time files from runtime? Fo

Re: Three Unlikely Successful Features of D

2012-03-22 Thread Nick Sabalausky
"Adam D. Ruppe" wrote in message news:oyqxvngsgjfmrlrwh...@forum.dlang.org... > On Thursday, 22 March 2012 at 04:49:24 UTC, Nick Sabalausky wrote: >> And then later on someone made sort of a mini file-system where you could >> add data to a ROM >> image and then query/access it from your code >

Re: Three Unlikely Successful Features of D

2012-03-22 Thread Jesse Phillips
On Wednesday, 21 March 2012 at 19:11:08 UTC, Nick Sabalausky wrote: Although, while it wasn't a major selling point in and of itself, the ability to put underscores in numeric literals *really* helped tell me, "Now *this* is a language that's very well thought out and values pragmatism." And

Re: Three Unlikely Successful Features of D

2012-03-22 Thread Matt Peterson
On Tuesday, 20 March 2012 at 19:02:16 UTC, Andrei Alexandrescu wrote: I plan to give a talk at Lang.NEXT (http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2012) with the subject above. There are a few features of D that turned out to be successful, in spite of them being seemingly unimporta

Re: Three Unlikely Successful Features of D

2012-03-22 Thread bearophile
Matt Peterson: It isn't mainline yet, but UFCS from git has made working with std.algorithm much nicer. Instead of something like array(filter!"a > 0"(map!((a){return somefunc(a);})(data))) where you can quickly drown in parenthesis and the order seems somewhat backwards, you can use data.map

Re: Three Unlikely Successful Features of D

2012-03-23 Thread Matt Peterson
On Friday, 23 March 2012 at 04:07:53 UTC, bearophile wrote: I suggest to compile all your D2 code with -wi (or -w) and -property. Already using -w, and I thought I was using -property. I am now, thanks. And one bug of UFCS will be probably fixed by Hara (http://d.puremagic.com/issues/sh

<    1   2