Ik kom wel een paar rare dingen tegen, zeg:
•
Types:
imaginaryan extended floating point value, but with imaginary type
•
Empty Statement
een ; achter een while is gewoon leesbaar
•
Statements:
Goto? Goto wilden we toch niet meer? Geeft toch ontraceerbare code
•
Arrays
Wat is nou het verschil tussen "Pointers" en "Dynamic arrays"?
oftewel:
code:
1
2
| int[] a; // is a nou niet gewoon een pointer?
int *p; // net als dat je p kan laten wijzen naar het eerste element in een array? |
Zie evt. ook "Rectangular Arrays":
(Dynamic arrays are implemented as pointers to the array data.)
•
Classes
Waarom zou je de get- en set-methods achterwege laten?
code:
1
2
3
4
5
6
7
8
9
10
11
12
| class Abc
{ int myprop;
void property(int newproperty) { myprop = newproperty; } // set'er
int property() { return myprop; } // get'er
}
/*
which is used as:
*/
Abc a;
a.property = 3; // equivalent to a.property(3)
int x = a.property; // equivalent to int x = a.property() |
Verlies je op deze manier niet behoorlijk wat structuur? Waar trek je nu de lijn tussen methode en eigenschap
•
Embedding D in HTML
drm.setFacialExpression ( 6 x

)
of moest het nou drm.facialExpression = 6 x
zijn?
•
D Class LibraryNo user interface windowing classes
GUI styles, philosophies, etc., are not portable from machine to machine. A GUI Windows app should look like a Windows app when running on a Windows machine. It should not look and feel like a Mac app unless it is running on a Mac. Attempts to create a common GUI class library between Windows, Mac, and other GUI operating systems have all to my knowledge failed.
Java has a successful GUI class library, but does so by creating its own GUI with its own look and feel. This approach is fine for a web language, but not for a systems language like D is.
hmmm...
•
Acknowledgements
Hierbij wil ik even zeggen dat ik trots ben op mijn neef, Jan Knepper

(afgezien van zijn

website)
------------------------------------------------------
Ik geef verder dit project, deze taal erg veel kans. De robuustheid, het accent op X-platform, X-OS en X-systeem implementatie, de zachte compatibiliteit met C en C++ en de eigenschappen van Java
die D ondersteunt, stemmen mij gerust dat deze taal absoluut voeten aan de grond gaat krijgen.
------------------------------------------------------
Vergeef mij mijn off-topic geblaat
* drm pleads guilty