D (programming language)

D is designed with lessons learned from practical C++ usage rather than from a theoretical perspective. Even though it uses many C/C++ concepts it also discards some, and as such is not compatible with C/C++ source code. D has however been constrained in its design by the rule that any code that is legal in both C and D should behave the same. It adds to the functionality of C++ by also implementing design by contract, unit testing, true modules, garbage collection, first class arrays, associative arrays, dynamic arrays, array slicing, nested functions, inner classes, closures, anonymous functions, compile time function execution, lazy evaluation and has a reengineered template syntax. D retains C++’s ability to do low-level coding, and adds to it with support for an integrated inline assembler. C++ multiple inheritance is replaced by Java style single inheritance with interfaces and mixins. D’s declaration, statement and expression syntax closely matches that of C++.

Source: ‘D (programming language)‘.

18-05-2016 13.33 | Door: Het dochtertje van onze stagiaire | Categorie: Computerij, Losse skakels, Taal

Er heeft iemand gereageerd op “D (programming language)”

  1. Ruud Harmsen says:

    Ik hou het nog altijd gewoon bij ANSI C 1990. Kan je alles mee, en als je je verstand gebruikt en een beetje ervaren bent, is het ook voldoende veilig. Als die nieuwlichterij is alleen maar lastig. Object oriented was een hype, handig voor bepaalde soorten problemen (heb er eens een grappige planeetsimulatie mee gemaakt), maar verder ronduit hinderlijk en nutteloos.


Opinieleiders.nl © 1999 - 2021 Alle rechten voorbehouden
Contact   Valid XHTML 1.0 TransitionalValid CSS!KuijkStrip over de zinloosheid van webloggen, onder andere
WordPress 4.7.21 RSS-feed/RSS-feed reacties