dmd support for IDEs

Nick Sabalausky a at a.a
Mon Oct 12 16:18:11 PDT 2009


"Walter Bright" <newshound1 at digitalmars.com> wrote in message 
news:hb08gf$2hvq$1 at digitalmars.com...
> Nick Sabalausky wrote:
>> "language_fan" <foo at bar.com.invalid> wrote in message
>>> "Practical" languages
>>> have lots of boiler-plate, and I can easily generate hundreds of lines 
>>> of
>>> code with a couple of key combinations or mouse clicks.
>>
>> I disagree very much. For a puritanical anal-retentive language like 
>> Java, you *have* to have all that fancy stuff just to make the language 
>> even usable. But with a practical language like D, I have mixins, and 
>> I've gotten pretty good with regex find and replace, which obviously 
>> isn't as good, but it's good enough when dealing with any language that's 
>> at least somewhat sensible. With practical languages I never need to 
>> generate hundreds of lines of code. If I ever actually needed to do so 
>> (and in a way that an IDE could actually help with), I'd take that as a 
>> very big red flag that I was using an incredibly shitty language in the 
>> first place (like Java).
>
> I think Nick has a point. Java lacks template mixins, and so inserting 
> hundreds of lines of code from an IDE "template" is normal. But with D, 
> doing such would be abnormal.

And not only that, but D supports higher-level and non-OOP constructs far 
better than Java, and far less verbosely, so you don't always even need to 
resort to mixins. A lot of the time you can just simply use better features. 
Like delegate literals instead of functors. 





More information about the Digitalmars-d mailing list