No household is perfect

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Dec 3 11:41:46 PST 2013


On 12/2/13 9:54 PM, Meta wrote:
> On Tuesday, 3 December 2013 at 03:06:20 UTC, Luís Marques wrote:
>> On Tuesday, 3 December 2013 at 00:36:32 UTC, Andrei Alexandrescu wrote:
>>> http://www.reddit.com/r/programming/comments/1rvltx/scala_1_would_not_program_again/#new
>>>
>>
>> I think he might not have liked D either:
>>
>>> This leads to ridiculous decisions such as using ~ to glue handlers
>>> together in the flexible DSL offered by spray
>>
>> ;-)
>
> I don't think this author is used to working with strongly-typed
> languages or languages with lower-level features:
>
> "And while I’m on the topic, thanks for making me care about the
> difference between long and int, again. It’s been far too long since I
> wrote C."
>
> I think he might've had a lot of the same criticisms for D as he did for
> Scala (save the build times. D's a real winner there).

He would at least to the extent a motivated and talented programmer 
could put together a rant against every language out there.

On the other hand Walter has been adamantly against configurable syntax 
(and talked me into that stance as well), so D is immune from quite a 
few issues pointed by that rant. D code is readable at least at surface 
level without needing context.

Also, the way D types work is quite a bit simpler so quite a few of the 
odd cases don't appear by design. I have this thought that D has 
offloaded to CTFE and Boolean logic a bunch of tasks that people achieve 
with complicated type-based proofs in Haskell or Scala. I think that's 
the real winner but time will tell.


Andrei



More information about the Digitalmars-d mailing list