Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1187 from aG0aep6G/Ivan-Smirnov's-redesign
Ivan Smirnov's redesign
- Loading branch information
Showing
54 changed files
with
1,989 additions
and
1,760 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
Ddoc | ||
|
||
$(D_S Articles, | ||
$(P | ||
More articles can be found on the corresponding | ||
$(LINK2 http://wiki.dlang.org/Articles, wiki page). | ||
) | ||
|
||
$(DIVC boxes, | ||
$(DIVC row, | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)faq.html, FAQ)) | ||
$(P Frequently answered questions about D.) | ||
) | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)const-faq.html, const(FAQ))) | ||
$(P Frequently answered questions about D's $(D const) and | ||
$(D immutable).) | ||
) | ||
) | ||
$(DIVC row, | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)d-floating-point.html, Floating Point)) | ||
$(P Don Clugston goes into detail about floating point | ||
numbers in D and the pitfalls one may encounter.) | ||
) | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)warnings.html, Warnings)) | ||
$(P This is about compiler warnings in general, and dmd's | ||
warnings in particular.) | ||
) | ||
) | ||
$(DIVC row, | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)rationale.html, Rationale)) | ||
$(P Questions about the reasons for various design decisions for | ||
D often come up. This addresses many of them.) | ||
) | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)builtin.html, Builtin Rationale)) | ||
$(P D offers several capabilities built in to the core language | ||
that are implemented as libraries in other languages. This | ||
article answers why.) | ||
) | ||
) | ||
$(DIVC row, | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)ctod.html, C to D)) | ||
$(P Coming from C? Here are various examples comparing $(I the D | ||
way) to $(I the C way).) | ||
) | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)cpptod.html, C++ to D)) | ||
$(P Coming from C++? Here are various examples comparing $(I the | ||
D way) to $(I the C++ way).) | ||
) | ||
) | ||
$(DIVC row, | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)pretod.html, C Preprocessor vs D)) | ||
$(P D doesn't have a preprocessor. This article shows how to do | ||
in D what would be a task for the preprocessor in C.) | ||
) | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)code_coverage.html, Code coverage analysis)) | ||
$(P D compilers come with a builtin code coverage analyzer. | ||
This article explains why and how to use it.) | ||
) | ||
) | ||
$(DIVC row, | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)exception-safe.html, Exception Safety)) | ||
$(P This article is about exceptions and how RAII and scope | ||
guard statements relate to them.) | ||
) | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)hijack.html, Hijacking)) | ||
$(P Function hijacking is when old code accidentally calls | ||
a newly added or changed function because it shadows the | ||
intended one. This article is about how D prevents | ||
different kinds of hijacking.) | ||
) | ||
) | ||
$(DIVC row, | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)intro-to-datetime.html, Introduction to | ||
std.datetime)) | ||
$(P Jonathan M Davis presents $(D std.datetime) which was added | ||
in version 2.052 (Jul 10, 2011), and compares it to the | ||
superseded $(D std.date).) | ||
) | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)lazy-evaluation.html, Lazy Evaluation)) | ||
$(P Walter Bright goes into the details of lazy parameters in | ||
D.) | ||
) | ||
) | ||
$(DIVC row, | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)migrate-to-shared.html, Migrating to Shared)) | ||
$(P Since version 2.030 (May 11, 2009) D uses thread local | ||
storage (TLS) by default for static and global variables. | ||
The article shows the alternatives to TLS that are available | ||
in D.) | ||
) | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)mixin.html, Mixins)) | ||
$(P A short article about D's $(D mixin) statement which allows | ||
to insert arbitrary code from a string, and how it compares | ||
to the C preprocessor.) | ||
) | ||
) | ||
$(DIVC row, | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)regular-expression.html, Regular Expressions)) | ||
$(P Dmitry Olshansky shows how to use regular expressions in D | ||
with $(D std.regex).) | ||
) | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)safed.html, SafeD)) | ||
$(P Bartosz Milewski writes about SafeD, the memory-safe | ||
subset of D.) | ||
) | ||
) | ||
$(DIVC row, | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)templates-revisited.html, Templates Revisited)) | ||
$(P Walter Bright writes about how D improves upon C++ | ||
templates.) | ||
) | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)ctarguments.html, Compile-time Argument | ||
Lists)) | ||
$(P A compile-time list is a list of compile-time entities - | ||
types, symbols (names) and expressions (values). This | ||
article shows how to work with them.) | ||
) | ||
) | ||
$(DIVC row, | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)variadic-function-templates.html, | ||
Variadic Templates)) | ||
$(P This article is about the D idiom of implementing variadic | ||
functions with variadic templates.) | ||
) | ||
$(DIVC item, | ||
$(H4 $(LINK2 $(ROOT_DIR)d-array-article.html, D Slices)) | ||
$(P Steven Schveighoffer writes about slices and dynamic arrays | ||
in D. Unfortunately, this article uses slightly different | ||
terminology than the language reference: What the article | ||
calls a $(I slice) is a $(I dynamic array) in the language | ||
reference, and what the article calls a $(I dynamic array) | ||
is not named specifically by the language reference. Still, | ||
the article is a great help in getting a good understanding | ||
of D's array semantics.) | ||
) | ||
) | ||
) | ||
) | ||
|
||
Macros: | ||
TITLE=Articles | ||
SUBNAV=$(SUBNAV_ARTICLES) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -174,4 +174,5 @@ $(SECTION2 Please Note, | |
Macros: | ||
TITLE=D Builtin Rationale | ||
WIKI=builtins | ||
SUBNAV=$(SUBNAV_ARTICLES) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Ddoc | ||
|
||
$(D_S Community, $(NAVIGATION_COMMUNITY)) | ||
|
||
Macros: | ||
TITLE=Community |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -826,3 +826,4 @@ void test() | |
Macros: | ||
TITLE=Programming in D for C++ Programmers | ||
WIKI=CPPtoD | ||
SUBNAV=$(SUBNAV_ARTICLES) |
Oops, something went wrong.