summaryrefslogtreecommitdiffhomepage
path: root/d.html.markdown
diff options
context:
space:
mode:
authorElijah Karari <eljhkrr@gmail.com>2015-11-02 15:52:27 +0300
committerElijah Karari <eljhkrr@gmail.com>2015-11-02 15:52:27 +0300
commit344518d2f60c6373f7814752fc53ef5603b605a9 (patch)
tree7e48a776ab06c741475b2189527b60a30d291ca8 /d.html.markdown
parentedfc99e198fd2e87802ea81d6779fbadfab64919 (diff)
parent824869ef99de73e87ef791bac880f4575cc9ddc9 (diff)
Merge pull request #2 from adambard/master
Update my fork to upstream
Diffstat (limited to 'd.html.markdown')
-rw-r--r--d.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/d.html.markdown b/d.html.markdown
index 80c1dc65..6f3710ab 100644
--- a/d.html.markdown
+++ b/d.html.markdown
@@ -199,8 +199,8 @@ our getter and setter methods, and keep the clean syntax of
accessing members directly!
Other object-oriented goodies at our disposal
-include `interface`s, `abstract class`es,
-and `override`ing methods. D does inheritance just like Java:
+include interfaces, abstract classes,
+and overriding methods. D does inheritance just like Java:
Extend one class, implement as many interfaces as you please.
We've seen D's OOP facilities, but let's switch gears. D offers
@@ -247,7 +247,7 @@ void main() {
// and take advantage of as many cores as we have available.
auto arr = new double[1_000_000];
- // Use an index, and an array element by referece,
+ // Use an index, and an array element by reference,
// and just call parallel on the array!
foreach(i, ref elem; parallel(arr)) {
ref = sqrt(i + 1.0);