On Sun, Aug 26, 2018 at 11:27:57PM -0700, Manu via Digitalmars-d wrote: > On Sun, 26 Aug 2018 at 21:50, Walter Bright via Digitalmars-d > <digitalmars-d@puremagic.com> wrote: > > Going the other way, though, is even worse - what do you mean, I > > have to write forward declarations? Why can't I pass a string > > literal to a template? No user defined attributes? Why doesn't CTFE > > work? Who can actually get work done in this language? > > And yes... this. > This is the truth that has ruined my career. > There was a time when I used to be happy; ignorance is bliss ;)
Me too(tm)! D has officially ruined my life (and my career). I can't stand writing code in any other language anymore. [...] > const however... that's another kettle of fish, and I'm slowly > becoming sympathetic to the complaining that I've been watching here > for years, which I've somehow managed to resist being sucked into for > a very long time. IMNSHO, const is only a "problem" when you have to interoperate with C++ const, where I can see how the disparity would cause endless woe when translating / interoperating across the C++/D boundary. Const in D makes sense as-is. Though, granted, its infectiousness means its scope is actually very narrow, and as a result, we ironically can't use it in very many places, and so its touted benefits only rarely apply. :-( Which also means that it's taking up a lot of language design real estate with not many benefits to show for it. T -- Perhaps the most widespread illusion is that if we were in power we would behave very differently from those who now hold it---when, in truth, in order to get power we would have to become very much like them. -- Unknown