Talk:D (programming language): Difference between revisions

Content deleted Content added
Line 367:
 
There are several problems with it, it is [[WP:CITE|unreferenced]], uses [[WP:WEASEL|weasel words]], uses second-person pronouns, and even contains a note to the person who has been removing it (such discussions should take place here on the talk page). I would encourage the writer of this section to try and fix these problems, but there is one last issue with this section that makes it impossible to fix; it, by its very nature is not [[WP:NPOV|neutral]]. The lack of a preprocessor is in fact cited as an advantage of D on the Digital Mars site. Anything that can be done with the C/C++ preprocessor can be done with D constructs such as <code>enum</code>, <code>import</code>, <code>alias</code>, and <code>static if</code>, except for the things that the programmer shouldn't be doing in the first place such as redefining syntax. Also the example given in the section of changing a method call into a property can already be done in D as D allows for methods to be called as properties. So it really is unfair to say that D's lack of a preprocessor is a disadvantage.[[user:Jeff02|-Jeff]] <sup>[[user talk:Jeff02|(talk)]]</sup> 17:20, 23 August 2009 (UTC)
 
: You've taken the words out of my mouth there. {{user|118.173.0.16}} is a PCTKB, who clearly hasn't written enough D code to be in any position to judge whether D's builtins are adequate for the purpose. Even if they weren't, then without '''proof''' that the practical advantages of C's preprocessor cannot be fulfilled by adding features directly into the language, it doesn't make sense to knock a language for not having a preprocessor. At least one troll on the D newsgroups has tried this already. It's also been [http://www.fortranstatement.com/ said about Fortran] and, while I agree with most of the points made on that page, this little detail in the middle of point 7 seems to be due to the author's lack of knowledge (as one [http://www.fortranstatement.com/Site/responses.html response] begins to explain).
 
: In short, you can't judge the power of a programming language by the presence or absence of a preprocessor. -- [[User:Smjg|Smjg]] ([[User talk:Smjg|talk]]) 18:50, 23 August 2009 (UTC)