Talk:D (programming language): Difference between revisions

Content deleted Content added
SineBot (talk | contribs)
Line 363:
 
They are already available in D1 too, so listing them in the section about D2 is wrong. <span style="font-size: smaller;" class="autosigned">—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/79.37.196.221|79.37.196.221]] ([[User talk:79.37.196.221|talk]]) 20:34, 28 April 2009 (UTC)</span><!-- Template:UnsignedIP --> <!--Autosigned by SineBot-->
 
== In regards to the preprocessor section that keeps getting added ==
 
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 <pre>enum</pre>, <pre>import</pre>, <pre>alias</pre>, and <pre>static if</pre>, 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)