D is well-designed and has many wonderful features, but its documentation is so bad as to make it unusable for serious work. This article is the best reference work on D2 that I have yet seen, which should not be the case. Also, this guy has been working on the book for over two years now. Even when it's done, it's going to be just like Grails is now: you can read the online docs, but you don't really get it until yo…
> you can read the online docs, but you don't really get it until you read a certain book. Isn't that expected and normal for anything that involves thinking about things a different way? D has language features that most programmers aren't familiar with, so to use the effectively involves a shift of thinking. Same with Grails.
The Case for D
21–30 of 48 posts
Re: The Case for D
#22D is well-designed and has many wonderful features, but its documentation is so bad as to make it unusable for serious work. This article is the best reference work on D2 that I have yet seen, which should not be the case. Also, this guy has been working on the book for over two years now. Even when it's done, it's going to be just like Grails is now: you can read the online docs, but you don't really get it until yo…
> you can read the online docs, but you don't really get it until you read a certain book. Isn't that expected and normal for anything that involves thinking about things a different way? D has language features that most programmers aren't familiar with, so to use the effectively involves a shift of thinking. Same with Grails.
Re: The Case for D
#23Earlier quoted context omitted.
I'm curious, why don't you want to do the switch to D2? Is it because it's not mature enough?
There are several reasons. I'll try to list them, but it might not be complete: - D2 looks and feels foreign to me as a somewhat D1 experienced user - Templates maelstrom and strong emphasis on them - D1 grew organically, D2 looks like an academic exercise where stuff is put in just for the sake of it by the people that don't write programs in D at all (Andrei) - D2 book and Andrei are a filibuster for D2 - Walter Br…
Templates are the killer feature of D. There is nothing wrong in the emphasis on them.
Yes I agree that there are problems in D2. But there are much more problems in D1.
If I were you, I wouldn't do such an anti-advertisement campaign here. Instead you could have pointed at what you think are the problems with D2. That would be more constructive.
Re: The Case for D
#24Earlier quoted context omitted.
I'm curious, why don't you want to do the switch to D2? Is it because it's not mature enough?
There are several reasons. I'll try to list them, but it might not be complete: - D2 looks and feels foreign to me as a somewhat D1 experienced user - Templates maelstrom and strong emphasis on them - D1 grew organically, D2 looks like an academic exercise where stuff is put in just for the sake of it by the people that don't write programs in D at all (Andrei) - D2 book and Andrei are a filibuster for D2 - Walter Br…
>> Walter Bright listens to Andrei (ok, a smart guy) but he doesn't write D programs
You stated twice that he doesn't write D programs. Well since you are mentioning Tango, it's unfair because he writes code for a _standard_library_. And he is writing a good code.
Re: The Case for D
#25Earlier quoted context omitted.
A top quality, supported, opensource compiler would help. The LLVM front-end looks promising but I half expect it to be abandoned. It's kind of odd, it definitely seems like there is a desire for a compiled machine code producing language to compete with C and C++. I kind of remember this argument with Ada over the years, particularly when the GNAT front-end to GCC was mainlined. Having tools available is a big notic…
Yes. This is actually is one of the main points of contention... that the dmd frontend is 'source available.' The community is doing some things to address this, but that's all I'll say. LDC is a really great project. It's not being abandoned anytime soon, trust me. Those guys are working hard, and they answer bug reports really, really fast. Though I'm admittedly slightly biased, since they use my kernel as a test c…
Re: The Case for D
#26Earlier quoted context omitted.
> you can read the online docs, but you don't really get it until you read a certain book. Isn't that expected and normal for anything that involves thinking about things a different way? D has language features that most programmers aren't familiar with, so to use the effectively involves a shift of thinking. Same with Grails.
I learned Python by reading the official tutorial and hacking away until it made sense. I did the same for O'Caml, and later for Haskell (although that one took longer). Isn't that normal?
Re: The Case for D
#27Earlier quoted context omitted.
D might not be better from the glance over it, but it's little things in it that REALLY add up. I strongly recommend anyone who ever wrote C++ code to give it a go for at least a couple of months and see for themselves. That is the best way to measure - I can only give you my sincere recommendation to try it out.
It looks great, I agree. I like the range approach for the standard library. I also like the end of the include nightmare. Is the output binary as good as a C++ one? That would be my first purely technical concern. Other concerns would be related to the building tool chain and the quality of IDEs. But the real concern is business oriented. For pet projects I'd be inclined to give a green light. It's always nice to pl…
Re: The Case for D
#28I'd really like to use D, it's the non-sucky C++ I've been waiting for, but it's just far from being usable and reliable yet.
Re: The Case for D
#29Earlier quoted context omitted.
There are several reasons. I'll try to list them, but it might not be complete: - D2 looks and feels foreign to me as a somewhat D1 experienced user - Templates maelstrom and strong emphasis on them - D1 grew organically, D2 looks like an academic exercise where stuff is put in just for the sake of it by the people that don't write programs in D at all (Andrei) - D2 book and Andrei are a filibuster for D2 - Walter Br…
>> ...the people that don't write programs in D at all (Andrei) >> Walter Bright listens to Andrei (ok, a smart guy) but he doesn't write D programs You stated twice that he doesn't write D programs. Well since you are mentioning Tango, it's unfair because he writes code for a _standard_library_. And he is writing a good code.
Re: The Case for D
#30Earlier quoted context omitted.
It looks great, I agree. I like the range approach for the standard library. I also like the end of the include nightmare. Is the output binary as good as a C++ one? That would be my first purely technical concern. Other concerns would be related to the building tool chain and the quality of IDEs. But the real concern is business oriented. For pet projects I'd be inclined to give a green light. It's always nice to pl…
"I like the range approach for the standard library" This is D2 - I don't use D2 and wouldn't use it. I was talking about D1/Tango combination. I don't think I'll make a switch to D2. "Is the output binary as good as a C++ one? That would be my first purely technical concern." That depends on the compiler/linker, of course. In short - dmd good enough, ldc great (llvm as the backend after all). "Other concerns would b…
This is so generic a remark as to be worthless. You do know Lisp signifies a family of languages, right? Of which most or neither emerging nor obscure.