Content deleted Content added
Features section, comments on backwards compatibility with C |
|||
Line 124:
== Examples in RGB?? ==
OK, no trouble for me, because my color vision is virtually perfect, but there are color blindness out there. I suggest using other kind of highlight based on <span style="background-color: white">background</span> and '''font style'''! <span style="color: #800000; background-color: #FFFFA0; padding: 1px 2px 3px 2px">''Said: [[User talk:Rursus|Rursus]] [[User:Rursus/OTHITPWMEEENAE|☺]] [[User:Rursus|★]]''</span> 15:00, 14 June 2007 (UTC)
== Features section, comments on backwards compatibility with C ==
Regarding the following quote from the Features section: "D is being designed with lessons learned from practical C++ usage rather than from a theoretical perspective. ''It uses many C++ concepts but discards some, such as strict backwards compatibility with C source code.''" [My emphasis.]
Could the person who wrote it clarify their meaning here? C++ is not strictly backwards compatible with C anyway. Consider e.g. the statement,
int *a = malloc(10*sizeof(int));
which is legitimate in C but not C++. Is the intent to mean compatibility with C system calls, or ability to link with C libraries, or is the paragraph just plain wrong? —[[User:WebDrake|WebDrake]] 18:17, 14 June 2007 (UTC)
|