D is coming to a town near you
d coder
dlang.coder at gmail.com
Wed Feb 20 11:04:58 PST 2013
On Thu, Feb 21, 2013 at 12:27 AM, H. S. Teoh <hsteoh at quickfur.ath.cx> wrote:
> But once I get into the realm of new features introduced in D, like
> generic metaprogramming, functional-style code, non-trivial range APIs,
> const-correctness, purity, etc., I just keep running into bugs,
> unexpected interactions, conflicting designs, etc.. It can be quite
> frustrating at times. No doubt, a lot of stuff *does* work, but bugs /
> design issues are also quite frequent, which detracts a lot from one's
> experience of D.
>
> Sometimes I wonder if we're over-stretching ourselves with the amount of
> clever features in D, as Kernighan once said:
>
> Debugging is twice as hard as writing the code in the first
> place. Therefore, if you write the code as cleverly as possible,
> you are, by definition, not smart enough to debug it. -- Brian
> W. Kernighan
>
> Maybe D already has enough innovations, and now is the time to revisit
> what is already there and polish it up into the refined product that it
> should be.
On that measure, the present state of D is goof. When I try something
clever in metaprogramming for example, I generally hit a wall. Then I
think again and usually I get a much simpler way and the D compiler
too is happy with that.
In a way the buggy facet of D compiler is helping me :-)
More information about the Digitalmars-d
mailing list