if(;){} opinion
Derek Parnell
derek at psych.ward
Tue Feb 28 13:49:04 PST 2006
On Wed, 01 Mar 2006 03:37:10 +1100, Georg Wrede <georg.wrede at nospam.org>
wrote:
>>> Flaunting this around (to both the original programmers, and also
>>> to virgin victims), gave the same, _immediate_ comment from
>>> everybody: "Ah, that's neat!"
>> The idea behind m; was to be like foreach. What do the "victims" <g>
>> think of:
>> if (auto m = std.regexp.search("abcdef", "b(c)d"))
>
> Another round, and everyone had no problem immediately understanding the
> code. And the word "auto" was universally assumed as in "autotype".
>
> Found one "still virgin" non-D programmer, and even he immediately
> assumed the correct functionality, and took for granted that "auto"
> meant that the compiler figures out the actual type.
Georg,
you have done a great service to the D language with this market research.
I hope the boss addresses it appropriately.
--
Derek Parnell
Melbourne, Australia
More information about the Digitalmars-d
mailing list