From f471d4a89a9768cd3bc48df6cf7965d7a57398b6 Mon Sep 17 00:00:00 2001 From: wgroeneveld Date: Mon, 6 Aug 2018 11:34:08 +0200 Subject: [PATCH] cpp slides les3 --- content/post/domain-driven-design-in-c.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/post/domain-driven-design-in-c.md b/content/post/domain-driven-design-in-c.md index 6c21167c..84da10d6 100644 --- a/content/post/domain-driven-design-in-c.md +++ b/content/post/domain-driven-design-in-c.md @@ -100,7 +100,7 @@ Person* newPerson(int age) { ### What about C++? -Are you wondering what the ++ in C++ might stand for? The addition of "real" classes is a revelation to old-time C programmers that tried aiming for readability in a "domain". The above example implemented in C++ is trivial: +Are you wondering what the ++ in C++ might stand for? The addition of "real" classes is a revelation to old-time C programmers that tried aiming for readability in a "domain"[^2]. The above example implemented in C++ is trivial: ```C class Person { @@ -157,4 +157,5 @@ That leaves us to conclude that if you're still writing C on some embedded hardw The C++ language is continually evolving while the ANSI C standard is "done"[^1] - the C++11 standard eased a lot of the mystical syntax pain. So if you can migrate from `gcc` to `g++`, I don't see why not. -[^1]: Well, not completely, [C11](https://en.wikipedia.org/wiki/ANSI_C#C11) introduced an cross-platform multi-threading API. \ No newline at end of file +[^1]: Well, not completely, [C11](https://en.wikipedia.org/wiki/ANSI_C#C11) introduced an cross-platform multi-threading API. +[^2]: DDD practices can't be implemented without proper use of an object model - within that context I'm calling that "domain" driven. \ No newline at end of file