Why is D unpopular?

H. S. Teoh hsteoh at quickfur.ath.cx
Wed May 18 19:20:58 UTC 2022


On Wed, May 18, 2022 at 07:08:59PM +0000, max haughton via Digitalmars-d wrote:
> On Wednesday, 18 May 2022 at 19:07:38 UTC, H. S. Teoh wrote:
> > On Wed, May 18, 2022 at 11:57:13AM -0700, Walter Bright via
> > Digitalmars-d wrote: [...]
> > > For example, look at the dmd source code itself. We maintain, by
> > > hand, a set of equivalent .h for them. A cumulatively enormous
> > > amount of time has been expended on that, and finding/fixing the
> > > bugs from when they get out of sync.
> > [...]
> > 
> > This is, to me, a flashing red (and beeping) neon sign begging for
> > auto-generation of .h from .d.  At least, that's what I'd do in my
> > own project if I faced a similar situation.
> > 
> > It's never a good idea to maintain two (slightly different) copies
> > of the same thing by hand.
[...]
> In this case it's actually a really good idea because politically it
> forces people to try and look after the C++ header interface.
> 
> One day it'll likely be more automated but until that automation can
> detect nasty changes it's better to have the frontend.h diff be
> extremely obvious.

What nasty changes are there?


T

-- 
Your inconsistency is the only consistent thing about you! -- KD


More information about the Digitalmars-d mailing list